Javascript test does JSON.strigify for actual and expected, as Javascript doesn't have any native way to test equality of hashes/dictionaries/objects.
This is going to make error message fairly weird, in a way that ruby/python versions of this kata don't suffer, but they test the same logic, I see a bunch of javascript solutions passing, and I'm not sure there's any reasonable way to make javascript error message more sensible.
You are right, I have a small typo in the Java and C# version. I will try to correct them. I said I will try because it is not often easy to re-edit a Java translation. Thanks!
Javascript test does
JSON.strigify
for actual and expected, as Javascript doesn't have any native way to test equality of hashes/dictionaries/objects.This is going to make error message fairly weird, in a way that ruby/python versions of this kata don't suffer, but they test the same logic, I see a bunch of javascript solutions passing, and I'm not sure there's any reasonable way to make javascript error message more sensible.
Are you sure your solution is correct?
I thank you very much for your help!
Maybe it was not updated. I just verified "Your Test Cases" and I can read:
Do you see now the same as I do?
I succeeded but unfortunately your solution is now invalidated, sorry for the inconvenience:-(
You are right, I have a small typo in the Java and C# version. I will try to correct them. I said I will try because it is not often easy to re-edit a Java translation. Thanks!