From f65879eef10b35769b6fda8d62005f14b629a92d Mon Sep 17 00:00:00 2001 From: Asger F Date: Tue, 27 Aug 2024 11:34:03 +0200 Subject: [PATCH] JS: Update a test that no longer fails --- javascript/ql/test/library-tests/TripleDot/tst.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ql/test/library-tests/TripleDot/tst.js b/javascript/ql/test/library-tests/TripleDot/tst.js index 1a0f000fd501..07bec92a92f6 100644 --- a/javascript/ql/test/library-tests/TripleDot/tst.js +++ b/javascript/ql/test/library-tests/TripleDot/tst.js @@ -133,7 +133,7 @@ function t13() { function target(x, y, ...rest) { sink(x); // $ SPURIOUS: hasTaintFlow=t13.1 sink(y); // $ hasTaintFlow=t13.1 - sink(rest); // $ MISSING: hasTaintFlow=t13.1 + sink(rest); // $ hasTaintFlow=t13.1 sink(rest[0]); // $ MISSING: hasTaintFlow=t13.1 } target("safe", ...source('t13.1'));