Skip to content

Commit e61ab87

Browse files
authored
Updating tests for Bob (#2580)
* Updating tests for Bob * Updating reimplemented test
1 parent c522318 commit e61ab87

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

exercises/practice/bob/.meta/config.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"brendan-c",
99
"draalger",
1010
"hayashi-ay",
11+
"jagdish-15",
1112
"kytrinyx",
1213
"matthewmorgan",
1314
"ryanplusplus",

exercises/practice/bob/.meta/tests.toml

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# This is an auto-generated file. Regular comments will be removed when this
2-
# file is regenerated. Regenerating will not touch any manually added keys,
3-
# so comments can be added in a "comment" key.
1+
# This is an auto-generated file.
2+
#
3+
# Regenerating this file via `configlet sync` will:
4+
# - Recreate every `description` key/value pair
5+
# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
6+
# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
7+
# - Preserve any other key/value pair
8+
#
9+
# As user-added comments (using the # character) will be removed when this file
10+
# is regenerated, comments can be added via a `comment` key.
411

512
[e162fead-606f-437a-a166-d051915cea8e]
613
description = "stating something"
@@ -64,6 +71,7 @@ description = "alternate silence"
6471

6572
[66953780-165b-4e7e-8ce3-4bcb80b6385a]
6673
description = "multiple line question"
74+
include = false
6775

6876
[5371ef75-d9ea-4103-bcfa-2da973ddec1b]
6977
description = "starting with whitespace"
@@ -76,3 +84,7 @@ description = "other whitespace"
7684

7785
[12983553-8601-46a8-92fa-fcaa3bc4a2a0]
7886
description = "non-question ending with whitespace"
87+
88+
[2c7278ac-f955-4eb4-bf8f-e33eb4116a15]
89+
description = "multiple line question"
90+
reimplements = "66953780-165b-4e7e-8ce3-4bcb80b6385a"

exercises/practice/bob/bob.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ describe('Bob', () => {
103103
});
104104

105105
xtest('multiple line question', () => {
106-
const result = hey('\nDoes this cryogenic chamber make me look fat?\nno');
107-
expect(result).toEqual('Whatever.');
106+
const result = hey('\nDoes this cryogenic chamber make\n me look fat?');
107+
expect(result).toEqual('Sure.');
108108
});
109109

110110
xtest('starting with whitespace', () => {

0 commit comments

Comments
 (0)