Skip to content

Commit cccd863

Browse files
committed
Added test for extra chaining function for underscore.string.
1 parent ca9ae8a commit cccd863

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,7 @@ function chaining() {
9797
.lpad(10, source("s9")).rpad(10, source("s10"))
9898
.repeat(3, source("s11")).surround(source("s12"))
9999
.quote(source("s13")).value()); // $ hasTaintFlow=s2 hasTaintFlow=s3 hasTaintFlow=s4 hasTaintFlow=s5 hasTaintFlow=s6 hasTaintFlow=s7 hasTaintFlow=s8 hasTaintFlow=s9 hasTaintFlow=s10 hasTaintFlow=s11 hasTaintFlow=s12 hasTaintFlow=s13
100+
101+
sink(s(source("s14")).toUpperCase().toLowerCase().replace().slice(1).substring(1).substr(1).concat(source("s15")).split()); // $ MISSING: hasTaintFlow=s14 MISSING: hasTaintFlow=s15
102+
100103
}

0 commit comments

Comments
 (0)