Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d678cc1

Browse files
committed
aggregate the tests in library-tests/Templates into a single .ql file
1 parent ad7844a commit d678cc1

11 files changed

Lines changed: 59 additions & 60 deletions

javascript/ql/test/library-tests/Templates/Folding.expected

Lines changed: 0 additions & 3 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/Folding.ql

Lines changed: 0 additions & 4 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TaggedTemplateExpr.expected

Lines changed: 0 additions & 2 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TaggedTemplateExpr.ql

Lines changed: 0 additions & 4 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TemplateElementCookedValue.expected

Lines changed: 0 additions & 17 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TemplateElementCookedValue.ql

Lines changed: 0 additions & 4 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TemplateElementRawValue.expected

Lines changed: 0 additions & 18 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TemplateElementRawValue.ql

Lines changed: 0 additions & 4 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TemplateLiteral.ql

Lines changed: 0 additions & 4 deletions
This file was deleted.

javascript/ql/test/library-tests/Templates/TemplateLiteral.expected renamed to javascript/ql/test/library-tests/Templates/tests.expected

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
folding
2+
| folding.js:1:1:1:3 | `x` | x |
3+
| folding.js:17:1:17:8 | `${"x"}` | x |
4+
| templates.js:9:1:9:2 | `` | |
5+
taggedTemplateExpr
6+
| templates-revised.js:1:1:1:30 | tag `\\u ... quence` | templates-revised.js:1:1:1:3 | tag | templates-revised.js:1:5:1:30 | `\\unval ... quence` |
7+
| templates.js:8:1:8:30 | tag `${ ... x + y}` | templates.js:8:1:8:3 | tag | templates.js:8:5:8:30 | `${x} + ... x + y}` |
8+
templateElementCookedValue
9+
| folding.js:1:2:1:2 | x | x |
10+
| folding.js:4:6:4:6 | | |
11+
| folding.js:6:2:6:3 | x | x |
12+
| folding.js:8:2:8:3 | x | x |
13+
| folding.js:8:8:8:9 | x | x |
14+
| folding.js:10:2:10:3 | x | x |
15+
| folding.js:10:8:10:10 | x | x |
16+
| folding.js:18:8:18:8 | | |
17+
| folding.js:20:2:20:3 | x | x |
18+
| folding.js:22:2:22:3 | x | x |
19+
| folding.js:22:10:22:11 | x | x |
20+
| folding.js:24:2:24:3 | x | x |
21+
| folding.js:24:10:24:12 | x | x |
22+
| templates.js:7:6:7:8 | + | + |
23+
| templates.js:7:13:7:15 | = | = |
24+
| templates.js:8:10:8:12 | + | + |
25+
| templates.js:8:17:8:21 | =\\n | =\n |
26+
templateElementRawValue
27+
| folding.js:1:2:1:2 | x | x |
28+
| folding.js:4:6:4:6 | | |
29+
| folding.js:6:2:6:3 | x | x |
30+
| folding.js:8:2:8:3 | x | x |
31+
| folding.js:8:8:8:9 | x | x |
32+
| folding.js:10:2:10:3 | x | x |
33+
| folding.js:10:8:10:10 | x | x |
34+
| folding.js:18:8:18:8 | | |
35+
| folding.js:20:2:20:3 | x | x |
36+
| folding.js:22:2:22:3 | x | x |
37+
| folding.js:22:10:22:11 | x | x |
38+
| folding.js:24:2:24:3 | x | x |
39+
| folding.js:24:10:24:12 | x | x |
40+
| templates-revised.js:1:6:1:29 | \\unvali ... equence | \\unvalid escape sequence |
41+
| templates.js:7:6:7:8 | + | + |
42+
| templates.js:7:13:7:15 | = | = |
43+
| templates.js:8:10:8:12 | + | + |
44+
| templates.js:8:17:8:21 | =\\n | =\\n |
45+
templateLiteral
146
| folding.js:1:1:1:3 | `x` | 0 | folding.js:1:2:1:2 | x |
247
| folding.js:3:1:3:6 | `${v}` | 0 | folding.js:3:4:3:4 | v |
348
| folding.js:4:1:4:11 | `${v} ${v}` | 0 | folding.js:4:4:4:4 | v |

0 commit comments

Comments
 (0)