katipokkinen / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

JSTestDriver can not handle multiline XML strings in test case #373

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a test that contains following line:
str = "<root>\n\
<elem></elem>\n\
</root>"
2. Run test
3. JSTestdirver will throw an error

What is the expected output?
The test must pass.

What do you see instead?
Error complaining about invalid character '<'.

What version of the product are you using? On what operating system?
JsTestDriver-1.3.4.b.jar on Windows 7 Professional

Please provide any additional information below.

Original issue reported on code.google.com by vasilij....@gmail.com on 18 May 2012 at 2:21