Ad
  • Custom User Avatar

    It's not an issue for the kata but rather for CW and for you. I saw in your post below that you resolved your problem by running your code in a terminal. Do you run your code directly at CW? First thing to do: running your code in your machine; second: when you don't pass the tests look carefully at your program before thinking that there is something wrong in the tests. Think that in the last run of a loop the last white space could be too much.
    I consider the issue as resolved but you could send a bug report at CW in order that they better show white spaces.

  • Custom User Avatar

    @bkaes: good idea but a bit too late for current-next kata:-(

  • Custom User Avatar

    That doesn't solve the underlying error. However, @JTorr needs to share her current solution. Maybe it's not the whitespace, but something else. Also, AFAIK, Jake needs an example in order to fix #55.

    Slightly off-topic: an array of objects would be much more idiomatic in JS (other languages have similar features), like

    [ {"type" : "Buy", "id" : "169850"}, { "type" : "Sell", "id" : "116000"} ]
    
  • Custom User Avatar

    What about putting something like "-" instead of whitespaces in the resulting string?

  • Custom User Avatar

    Ahem. You remember the discussion we just had over there on the other kata? :>. That's the other reason I don't like strings: You don't see whitespace errors in the output. One should probably file an issue (and I should add this drawback to the guide). Edit: It's already filed.

  • Custom User Avatar

    I can't see any difference! Which language? Did you try several times? CW seems to have too much to do.