Ad
  • Custom User Avatar

    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?

  • Custom User Avatar

    I thank you very much for your help!

  • Custom User Avatar

    Maybe it was not updated. I just verified "Your Test Cases" and I can read:

    testing(PhoneDir.phone(dr, "1-908-512-2222"), "Phone => 1-908-512-2222, Name => Peter O'Brien, Address => High Street CC-47209");

    Do you see now the same as I do?

  • Custom User Avatar

    I succeeded but unfortunately your solution is now invalidated, sorry for the inconvenience:-(

  • Custom User Avatar

    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!