Skip to content

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