Ad
  • Custom User Avatar

    I can confirm the problem is in your code, check what it does with a 2 letters word for instance.

  • Custom User Avatar

    That would be great, thanks.

  • Custom User Avatar

    I see. That's from Codewars test framework which we no longer use on Node 10+. I'll see if it's possible to port it.

  • Custom User Avatar

    With Node 10 I see this:

    expected 'something' to equal '65'
    

    With Node 8.1.3 I see this:

    expected 'something' to equal '65'
    Expected Actual
    

    Where one can click on Expected and Actual and see those values. The second is clearer.

  • Custom User Avatar

    @Chrono79 Node 10 should show expected and actual values.

    (only the error message)

    The error message should be something like expected 'A' to equal '65'. What do you see?

  • Default User Avatar

    @Chrono79: Do you know how? AFAIK it's not possible. Thanks

  • Custom User Avatar

    @suic: Could I suggest you make Node 8.1.3 the default version? There it shows the Expected and Actual values, in Node 10 it doesn't (only the error message).

  • Default User Avatar

    I've made some changes in the JS tests. Your code is incorrect. Here's an example test output:

    //                            your result
    //       /---------------------------------------------------\
    expected '65 119eisi 111dll 111lww 108divei 105nn 97nn 111kaa' to equal '65 119esi 111dl 111lw 108dvei 105n 97n 111ka'
    

    Regards,

    suic

  • Default User Avatar

    Can you paste here your code and mark it as a spoiler? Thanks, suic