Skip to content

Commit da23898

Browse files
committed
update tests
1 parent 5b26d03 commit da23898

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
| tst.js:3:1:3:19 | arr.concat([1,2,3]) | Return value from call to concat ignored. |
2-
| tst.js:5:1:5:15 | arr.concat(arr) | Return value from call to concat ignored. |
1+
| tst.js:3:1:3:19 | arr.concat([1,2,3]) | Result from call to concat ignored. |
2+
| tst.js:5:1:5:15 | arr.concat(arr) | Result from call to concat ignored. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Statements/IgnoreConcatReturn.ql
1+
Statements/IgnoreArrayResult.ql

javascript/ql/test/query-tests/Statements/IgnoreArrayResult/tst.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@ arr.concat(arr); // NOT OK!
66

77
console.log(arr.concat([1,2,3]));
88

9-
arr.concat(null);
10-
arr.concat();
11-
arr.concat([]);
12-
139
({concat: Array.prototype.concat}.concat(arr));

0 commit comments

Comments
 (0)