Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Exercise]: Bob #58

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

[New Exercise]: Bob #58

wants to merge 2 commits into from

Conversation

glaxxie
Copy link
Contributor

@glaxxie glaxxie commented Mar 6, 2024

No description provided.

@glaxxie
Copy link
Contributor Author

glaxxie commented Mar 6, 2024

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