test_string problem when bracket used

Issue #39 invalid
Anonymous created an issue

In function test_string, if js has brackets , then test fails
js = "{\"strVar\" : \"hello world\"}";


Comments (2)

  1. Serge Zaitsev repo owner

    Have you also modified the test after changing the string?
    In your case token 0 will be the root object, token 1 - strVar, token 2 - hello world. Which of course requires test code to be adjusted (to use 3 tokens instead of 2)

  2. Log in to comment