Error message despite correct output


Can someone let me know why I keep getting an error message here? The output is coming out correctly, but the message insists that it isn't:
The error message is: Oops, try again. It looks like sleepCheck() isn't returning "You're getting plenty of sleep! Maybe even too much!" when numHours is 10. Check your if / else syntax and whether you're using the correct comparison operator."


there's an un-needed hyphen between shut and eye.


Thanks, I re-entered the code and the error disappeared.

Thanks for your help!