Skip to content

[New Exercise]: Bob - #58

Open
glaxxie wants to merge 2 commits into
exercism:mainfrom
glaxxie:gdscript_bob
Open

[New Exercise]: Bob#58
glaxxie wants to merge 2 commits into
exercism:mainfrom
glaxxie:gdscript_bob

Conversation

@glaxxie

@glaxxie glaxxie commented Mar 6, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@glaxxie

glaxxie commented Mar 6, 2024

Copy link
Copy Markdown
Contributor Author

I think the order of the values in the message are incorrect. Made a mistake in my example and i got this error.

{
      "name": "test_non_question_ending_with_whitespace",
      "status": "fail",
      "message": "Expected output was 'Whoa, chill out!', actual output was 'Whatever.'"
    }
func test_non_question_ending_with_whitespace(solution_script):
	var value = "This is a statement ending with whitespace      "
	var expected = "Whatever."
	return [solution_script.response(value), expected]

Correct message should be:

"Expected output was 'Whatever.', actual output was 'Whoa, chill out!'."

fix example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant