Skip to content

Commit 5e109ff

Browse files
committed
JS: Update test output
1 parent 1e5885e commit 5e109ff

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

javascript/ql/test/library-tests/DataFlow/tests.expected

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ basicBlock
1616
| arguments.js:1:1:12:4 | exceptional return of (functi ... );\\n})() | arguments.js:1:1:1:0 | entry node of <toplevel> |
1717
| arguments.js:1:2:1:1 | this | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
1818
| arguments.js:1:2:12:1 | [function self-reference] functio ... , 3);\\n} | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
19-
| arguments.js:1:2:12:1 | exceptional return of anonymous function | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
19+
| arguments.js:1:2:12:1 | exceptional return of anonymous function | arguments.js:2:5:10:5 | functio ... ;\\n } |
2020
| arguments.js:1:2:12:1 | functio ... , 3);\\n} | arguments.js:1:1:1:0 | entry node of <toplevel> |
21-
| arguments.js:1:2:12:1 | return of anonymous function | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
21+
| arguments.js:1:2:12:1 | return of anonymous function | arguments.js:2:5:10:5 | functio ... ;\\n } |
2222
| arguments.js:2:5:2:4 | this | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
2323
| arguments.js:2:5:2:5 | arguments | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
2424
| arguments.js:2:5:10:5 | 'arguments' object of function f | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
2525
| arguments.js:2:5:10:5 | [function self-reference] functio ... ;\\n } | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
2626
| arguments.js:2:5:10:5 | exceptional return of function f | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
27-
| arguments.js:2:5:10:5 | functio ... ;\\n } | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
27+
| arguments.js:2:5:10:5 | functio ... ;\\n } | arguments.js:2:5:10:5 | functio ... ;\\n } |
2828
| arguments.js:2:5:10:5 | return of function f | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
29-
| arguments.js:2:14:2:14 | f | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
30-
| arguments.js:2:14:2:14 | f | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
29+
| arguments.js:2:14:2:14 | f | arguments.js:2:14:2:14 | f |
30+
| arguments.js:2:14:2:14 | f | arguments.js:2:14:2:14 | f |
3131
| arguments.js:2:16:2:16 | x | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
3232
| arguments.js:2:16:2:16 | x | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
3333
| arguments.js:3:13:3:20 | firstArg | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
@@ -61,12 +61,12 @@ basicBlock
6161
| arguments.js:9:27:9:35 | arguments | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
6262
| arguments.js:9:27:9:38 | arguments[0] | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
6363
| arguments.js:9:37:9:37 | 0 | arguments.js:2:5:2:4 | entry node of functio ... ;\\n } |
64-
| arguments.js:11:5:11:5 | f | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
65-
| arguments.js:11:5:11:14 | exceptional return of f(1, 2, 3) | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
66-
| arguments.js:11:5:11:14 | f(1, 2, 3) | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
67-
| arguments.js:11:7:11:7 | 1 | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
68-
| arguments.js:11:10:11:10 | 2 | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
69-
| arguments.js:11:13:11:13 | 3 | arguments.js:1:2:1:1 | entry node of functio ... , 3);\\n} |
64+
| arguments.js:11:5:11:5 | f | arguments.js:2:5:10:5 | functio ... ;\\n } |
65+
| arguments.js:11:5:11:14 | exceptional return of f(1, 2, 3) | arguments.js:2:5:10:5 | functio ... ;\\n } |
66+
| arguments.js:11:5:11:14 | f(1, 2, 3) | arguments.js:2:5:10:5 | functio ... ;\\n } |
67+
| arguments.js:11:7:11:7 | 1 | arguments.js:2:5:10:5 | functio ... ;\\n } |
68+
| arguments.js:11:10:11:10 | 2 | arguments.js:2:5:10:5 | functio ... ;\\n } |
69+
| arguments.js:11:13:11:13 | 3 | arguments.js:2:5:10:5 | functio ... ;\\n } |
7070
| eval.js:1:1:1:0 | this | eval.js:1:1:1:0 | entry node of <toplevel> |
7171
| eval.js:1:1:1:0 | this | eval.js:1:1:1:0 | entry node of functio ... eval`\\n} |
7272
| eval.js:1:1:5:1 | [function self-reference] functio ... eval`\\n} | eval.js:1:1:1:0 | entry node of functio ... eval`\\n} |

javascript/ql/test/library-tests/DefUse/DefUsePair.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
| fundecls.js:12:12:12:12 | def@12:12 | fundecls.js:10:3:10:3 | f |
1212
| fundecls.js:18:12:18:12 | def@18:12 | fundecls.js:17:3:17:3 | f |
1313
| fundecls.js:23:12:23:12 | def@23:12 | fundecls.js:24:3:24:3 | f |
14-
| fundecls.js:27:2:27:2 | implicitInit@27:2 | fundecls.js:28:3:28:3 | f |
15-
| fundecls.js:34:12:34:12 | def@34:12 | fundecls.js:35:3:35:3 | f |
14+
| fundecls.js:30:12:30:12 | def@30:12 | fundecls.js:28:3:28:3 | f |
15+
| fundecls.js:36:12:36:12 | def@36:12 | fundecls.js:35:3:35:3 | f |
1616
| fundecls.js:39:11:39:11 | def@39:11 | fundecls.js:40:7:40:7 | x |
1717
| fundecls.js:45:3:45:3 | phi@45:3 | fundecls.js:45:3:45:3 | f |
1818
| fundecls.js:48:11:48:11 | def@48:11 | fundecls.js:50:7:50:7 | x |

0 commit comments

Comments
 (0)