When I go to the “Tests” tab, the check is shown without the typo in it, but when I run the code the check fails with the text I showed above.
The “Results” section also says this is the code that was run: check hey("WHAT\'S GOING ON?") == "Calm down, I know what I\'m doing!"
There are no other differences I can see
Edit:
This is the code I am using as my solution:
import strutils
proc hey*(s: string): string =
if ({'A'..'Z'} in s) and not({'a'..'z'} in s) and s[^1] == '?': return "Calm down, I know what I'm doing"
elif ({'A'..'Z'} in s) and not({'a'..'z'} in s): return "Whoa, chill out!"
elif s.strip == "": return "Fine. Be that way!"
elif s.strip[^1] == '?': return "Sure."
else: return "Whatever."