Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 "" | |
| 2 '' | |
| 3 "f\"oo" | |
| 4 'b\'ar' | |
| 5 "foo\ | |
| 6 bar" | |
| 7 'foo\ | |
| 8 bar' | |
| 9 | |
| 10 ---------------------------------------------------- | |
| 11 | |
| 12 [ | |
| 13 ["string", "\"\""], | |
| 14 ["string", "''"], | |
| 15 ["string", "\"f\\\"oo\""], | |
| 16 ["string", "'b\\'ar'"], | |
| 17 ["string", "\"foo\\\r\nbar\""], | |
| 18 ["string", "'foo\\\r\nbar'"] | |
| 19 ] | |
| 20 | |
| 21 ---------------------------------------------------- | |
| 22 | |
| 23 Checks for empty strings, single-line strings and | |
| 24 multi-line strings, both single-quoted and double-quoted. | |
| OLD | NEW |