Skip to content

Commit 194ef60

Browse files
committed
JS: Updated .expected
1 parent ec18786 commit 194ef60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

javascript/ql/test/library-tests/frameworks/Collections/test.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ typeTracking
2626
| tst.js:2:16:2:23 | source() | tst.js:37:14:37:14 | e |
2727
| tst.js:2:16:2:23 | source() | tst.js:41:14:41:14 | e |
2828
| tst.js:2:16:2:23 | source() | tst.js:45:14:45:14 | e |
29+
| tst.js:2:16:2:23 | source() | tst.js:49:14:49:14 | e |
2930
| tst.js:2:16:2:23 | source() | tst.js:53:8:53:21 | map.get("key") |
3031
| tst.js:2:16:2:23 | source() | tst.js:59:8:59:22 | map2.get("foo") |
3132
| tst.js:2:16:2:23 | source() | tst.js:64:8:64:26 | map3.get(unknown()) |

javascript/ql/test/library-tests/frameworks/Collections/tst.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
}
4848

4949
for (const e of Array.from(set)) {
50-
sink(e); // NOT OK (not caught by type-tracking, as it doesn't include array steps).
50+
sink(e); // NOT OK
5151
}
5252

5353
sink(map.get("key")); // NOT OK.

0 commit comments

Comments
 (0)