Skip to content

Commit 7c6704a

Browse files
committed
JS: Shift line numbers in test case
1 parent 34280f9 commit 7c6704a

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

javascript/ql/test/library-tests/frameworks/Angular2/sink.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export class SinkComponent {
1515
sink7: string;
1616
sink8: string;
1717

18+
1819
constructor(private sanitizer: DomSanitizer) {}
1920

2021
foo() {

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ pipeClassRef
2222
| TestPipe.ts:4:8:9:1 | class T ... ;\\n }\\n} | source.component.html:5:22:5:29 | testPipe |
2323
| TestPipe.ts:4:8:9:1 | class T ... ;\\n }\\n} | source.component.html:6:19:6:26 | testPipe |
2424
taintFlow
25-
| inline.component.ts:15:22:15:29 | source() | sink.component.ts:27:48:27:57 | this.sink7 |
25+
| inline.component.ts:15:22:15:29 | source() | sink.component.ts:28:48:28:57 | this.sink7 |
2626
| source.component.ts:14:22:14:29 | source() | TestPipe.ts:6:31:6:35 | value |
27-
| source.component.ts:14:22:14:29 | source() | sink.component.ts:21:48:21:57 | this.sink1 |
28-
| source.component.ts:14:22:14:29 | source() | sink.component.ts:24:48:24:57 | this.sink4 |
29-
| source.component.ts:14:22:14:29 | source() | sink.component.ts:25:48:25:57 | this.sink5 |
30-
| source.component.ts:14:22:14:29 | source() | sink.component.ts:26:48:26:57 | this.sink6 |
31-
| source.component.ts:14:22:14:29 | source() | sink.component.ts:28:48:28:57 | this.sink8 |
27+
| source.component.ts:14:22:14:29 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
28+
| source.component.ts:14:22:14:29 | source() | sink.component.ts:25:48:25:57 | this.sink4 |
29+
| source.component.ts:14:22:14:29 | source() | sink.component.ts:26:48:26:57 | this.sink5 |
30+
| source.component.ts:14:22:14:29 | source() | sink.component.ts:27:48:27:57 | this.sink6 |
31+
| source.component.ts:14:22:14:29 | source() | sink.component.ts:29:48:29:57 | this.sink8 |
3232
| source.component.ts:14:22:14:29 | source() | source.component.ts:20:48:20:48 | x |
33-
| source.component.ts:15:33:15:40 | source() | sink.component.ts:21:48:21:57 | this.sink1 |
33+
| source.component.ts:15:33:15:40 | source() | sink.component.ts:22:48:22:57 | this.sink1 |

0 commit comments

Comments
 (0)