Skip to content

Commit 3511de4

Browse files
authored
Merge pull request #176 from mull-project/code-climate
Code climate: fix next batch of "; " occurences
2 parents 09d8fb6 + 7f4c51e commit 3511de4

File tree

27 files changed

+147
-145
lines changed

27 files changed

+147
-145
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; CHECK: hello
2-
; CHECK-EMPTY:
3-
; CHECK: hello
4-
; CHECK-EMPTY:
1+
CHECK: hello
2+
CHECK-EMPTY:
3+
CHECK: hello
4+
CHECK-EMPTY:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
; CHECK: string 1
2-
; CHECK-NEXT: foo
1+
CHECK: string 1
2+
CHECK-NEXT: foo
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
22

3-
; CHECK:{{.*}}filecheck.check:2:15: error: CHECK-NEXT: expected string not found in input
4-
; CHECK:; CHECK-NEXT: foo
5-
; CHECK: ^
6-
; CHECK:<stdin>:2:1: note: scanning from here
7-
; CHECK:string 2
8-
; CHECK:^
9-
; CHECK-EMPTY:
3+
CHECK:{{.*}}filecheck.check:2:13: error: CHECK-NEXT: expected string not found in input
4+
CHECK:CHECK-NEXT: foo
5+
CHECK: ^
6+
CHECK:<stdin>:2:1: note: scanning from here
7+
CHECK:string 2
8+
CHECK:^
9+
CHECK-EMPTY:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
; CHECK: string 1
2-
; CHECK-NEXT: string 3
1+
CHECK: string 1
2+
CHECK-NEXT: string 3
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
22

3-
; CHECK:{{.*}}filecheck.check:2:15: error: CHECK-NEXT: is not on the line after the previous match{{$}}
4-
; CHECK-NEXT:; CHECK-NEXT: string 3
5-
; CHECK-NEXT: ^
6-
; CHECK-NEXT:<stdin>:3:1: note: 'next' match was here
7-
; CHECK-NEXT:string 3
8-
; CHECK-NEXT:^
9-
; CHECK-NEXT:<stdin>:1:9: note: previous match ended here
10-
; CHECK-NEXT:string 1
11-
; CHECK-NEXT: ^
12-
; CHECK-NEXT:<stdin>:2:1: note: non-matching line after previous match is here
13-
; CHECK-NEXT:string 2
14-
; CHECK-NEXT:^
3+
CHECK:{{.*}}filecheck.check:2:13: error: CHECK-NEXT: is not on the line after the previous match{{$}}
4+
CHECK-NEXT:CHECK-NEXT: string 3
5+
CHECK-NEXT: ^
6+
CHECK-NEXT:<stdin>:3:1: note: 'next' match was here
7+
CHECK-NEXT:string 3
8+
CHECK-NEXT:^
9+
CHECK-NEXT:<stdin>:1:9: note: previous match ended here
10+
CHECK-NEXT:string 1
11+
CHECK-NEXT: ^
12+
CHECK-NEXT:<stdin>:2:1: note: non-matching line after previous match is here
13+
CHECK-NEXT:string 2
14+
CHECK-NEXT:^
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 2 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 2 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
22

3-
; CHECK:{{^.*}}filecheck.check:1:4: error: found 'CHECK-NEXT' without previous 'CHECK: line{{$}}
4-
; CHECK:// CHECK-NEXT: 2
5-
; CHECK: ^
6-
; CHECK-EMPTY:
3+
CHECK:{{^.*}}filecheck.check:1:4: error: found 'CHECK-NEXT' without previous 'CHECK: line{{$}}
4+
CHECK:// CHECK-NEXT: 2
5+
CHECK: ^
6+
CHECK-EMPTY:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
; CHECK: string 1
2-
; CHECK-NEXT: {{string 3}}
1+
CHECK: string 1
2+
CHECK-NEXT: {{string 3}}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
22

3-
; CHECK:{{.*}}filecheck.check:2:15: error: CHECK-NEXT: is not on the line after the previous match{{$}}
4-
; CHECK-NEXT:{{^; CHECK-NEXT: ..string 3..$}}
5-
; CHECK-NEXT: ^
6-
; CHECK-NEXT:<stdin>:3:1: note: 'next' match was here
7-
; CHECK-NEXT:string 3
8-
; CHECK-NEXT:^
9-
; CHECK-NEXT:<stdin>:1:9: note: previous match ended here
10-
; CHECK-NEXT:string 1
11-
; CHECK-NEXT: ^
12-
; CHECK-NEXT:<stdin>:2:1: note: non-matching line after previous match is here
13-
; CHECK-NEXT:string 2
14-
; CHECK-NEXT:^
3+
CHECK:{{.*}}filecheck.check:2:13: error: CHECK-NEXT: is not on the line after the previous match{{$}}
4+
CHECK-NEXT:{{^CHECK-NEXT: ..string 3..$}}
5+
CHECK-NEXT: ^
6+
CHECK-NEXT:<stdin>:3:1: note: 'next' match was here
7+
CHECK-NEXT:string 3
8+
CHECK-NEXT:^
9+
CHECK-NEXT:<stdin>:1:9: note: previous match ended here
10+
CHECK-NEXT:string 1
11+
CHECK-NEXT: ^
12+
CHECK-NEXT:<stdin>:2:1: note: non-matching line after previous match is here
13+
CHECK-NEXT:string 2
14+
CHECK-NEXT:^
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
; CHECK-NOT:{{.*String1.*}}
2-
; CHECK:String2
1+
CHECK-NOT:{{.*String1.*}}
2+
CHECK:String2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --strict-whitespace --match-full-lines
22

3-
; CHECK:{{^.*}}:1:13: error: CHECK-NOT: excluded string found in input
4-
; CHECK:{{; CHECK-NOT:..\.\*String1.*..}}
5-
; CHECK:{{^ \^$}}
6-
; CHECK:<stdin>:2:1: note: found here
7-
; CHECK:String1
8-
; CHECK:^~~~~~~
9-
; CHECK-EMPTY:
3+
CHECK:{{^.*}}:1:11: error: CHECK-NOT: excluded string found in input
4+
CHECK:{{CHECK-NOT:..\.\*String1.*..}}
5+
CHECK:{{^ \^$}}
6+
CHECK:<stdin>:2:1: note: found here
7+
CHECK:String1
8+
CHECK:^~~~~~~
9+
CHECK-EMPTY:

0 commit comments

Comments
 (0)