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!'."
I think the order of the values in the message are incorrect. Made a mistake in my example and i got this error.
Correct message should be: