Skip to content

Commit c0f1fe6

Browse files
committed
fixed test cases
1 parent dcc9d58 commit c0f1fe6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/Parser.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ describe("Parser", function() {
219219
"'S' + (\"strr\" + \"ring\") + 'y'": "string=Sstrrringy",
220220
"1": "number=1",
221221
"1 + 3": "number=4",
222-
"'pre' + a": "wrapped=['pre' string=pre]+[string=]",
223-
"a + 'post'": "wrapped=[string=]+['post' string=post]",
222+
"'pre' + a": "wrapped=['pre' string=pre]+[null]",
223+
"a + 'post'": "wrapped=[null]+['post' string=post]",
224224
"'pre' + a + 'post'": "wrapped=['pre' string=pre]+['post' string=post]",
225225
"1 + a + 2": "",
226-
"1 + a + 'post'": "wrapped=[string=]+['post' string=post]",
226+
"1 + a + 'post'": "wrapped=[null]+['post' string=post]",
227227
"'' + 1 + a + 2": "wrapped=['' + 1 string=1]+[2 string=2]",
228228
"'' + 1 + a + 2 + 3": "wrapped=['' + 1 string=1]+[2 + 3 string=23]",
229229
"'' + 1 + a + (2 + 3)": "wrapped=['' + 1 string=1]+[2 + 3 string=5]",

0 commit comments

Comments
 (0)