JS: Shift line numbers in test expectations · ByteDecoder/codeql@04bdba8 · GitHub
Skip to content

Commit 04bdba8

Browse files
committed
JS: Shift line numbers in test expectations
1 parent c1bb40f commit 04bdba8

4 files changed

Lines changed: 46 additions & 36 deletions

File tree

javascript/ql/test/library-tests/frameworks/Templating/Xss.expected

Lines changed: 29 additions & 29 deletions

javascript/ql/test/library-tests/frameworks/Templating/projectA/src/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ const express = require('express');
22

33
const app = express();
44

5+
app.use((req, res, next) => {
6+
7+
8+
});
9+
510
app.get('/fooA', (req, res) => {
611
res.render('main', {
712
sinkA: req.query.sinkA,

javascript/ql/test/library-tests/frameworks/Templating/projectB/src/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ const express = require('express');
22

33
const app = express();
44

5+
app.use((req, res, next) => {
6+
7+
8+
});
9+
510
app.get('/fooA', (req, res) => {
611
res.render('main', {
712
sinkA: req.query.sinkA,

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

Lines changed: 7 additions & 7 deletions

0 commit comments

Comments
 (0)