Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Fixed
fixed.
You should print Error 404 instead of invalid value - that was a typo.
That is the splat operator - in this context - used for array coercion. You delve deeper here: https://endofline.wordpress.com/2011/01/21/the-strange-ruby-splat/
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The instructions say "If the given input is not an integer, return "Error 404"."
But the tests look for "Invalid Value"
It seems that some of the random tests provide invalid times but do not expect false.
Testing for convert_time(12, 21:44AM)
It should work for random inputs too - Expected: "09:44AM", instead got: false