Skip to content

Commit 9e78755

Browse files
committed
Fixed typo in the test cases.
1 parent ca53e97 commit 9e78755

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/test/library-tests/TripleDot/underscore.string.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ function strToStr() {
4040

4141
function strToArray() {
4242
sink(s.chop(source("s1"), 3)); // $ MISSING: hasTaintFlow=s1
43-
sink(s.chars(source("s2")[0])); // $ MISSING: hasTaintFlow=s2
44-
sink(s.words(source("s3")[0])); // $ MISSING: hasTaintFlow=s3
45-
sink(s.lines(source("s7")[0])); // $ MISSING: hasTaintFlow=s7
43+
sink(s.chars(source("s2"))[0]); // $ hasTaintFlow=s2
44+
sink(s.words(source("s3"))[0]); // $ hasTaintFlow=s3
45+
sink(s.lines(source("s7"))[0]); // $ hasTaintFlow=s7
4646
sink(s.chop(source("s1"), 3).length);
4747
}
4848

0 commit comments

Comments
 (0)