Skip to content

Commit da9e84e

Browse files
committed
Let multi line question example be one sentence
Using multiple sentences is a bit ambiguous in this exercise, in general. This is especially so, if we follow a sentence with a question mark by a sentence with a dot. To avoid that ambiguity gettting in the way of showcasing the intended way to handle multi-line queries, let this example use just one sentence, but let it spread over multiple lines. Disucssion: https://forum.exercism.org/t/bob-exercise-text-should-mention-linebreak-handling/13582/17
1 parent 0bc4985 commit da9e84e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

exercises/bob/canonical-data.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,17 @@
225225
"heyBob": "This is a statement ending with whitespace "
226226
},
227227
"expected": "Whatever."
228+
},
229+
{
230+
"uuid": "2c7278ac-f955-4eb4-bf8f-e33eb4116a15",
231+
"reimplements": "66953780-165b-4e7e-8ce3-4bcb80b6385a",
232+
"description": "multiple line question",
233+
"comments": ["Use one sentence, spanning multiple lines."],
234+
"property": "response",
235+
"input": {
236+
"heyBob": "\nDoes this cryogenic chamber make\n me look fat?"
237+
},
238+
"expected": "Sure."
228239
}
229240
]
230241
}

0 commit comments

Comments
 (0)