Skip to content

Commit 09d8fb6

Browse files
authored
Merge pull request #175 from mull-project/code-climate
Code climate: fix a batch of "; RUN:" lines in the tests
2 parents aeaa157 + 0a48e4e commit 09d8fb6

File tree

31 files changed

+61
-61
lines changed

31 files changed

+61
-61
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
; CHECK: string1
2-
; CHECK-EMPTY:
1+
CHECK: string1
2+
CHECK-EMPTY:
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" --match-full-lines
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 1 %FILECHECK_EXEC "%S/filecheck.check" | %FILECHECK_TESTER_EXEC "%s" --match-full-lines
22

3-
; CHECK: {{.*}}filecheck.check:2:15: error: CHECK-EMPTY: expected string not found in input{{$}}
4-
; CHECK: {{^}}; CHECK-EMPTY:{{$}}
5-
; CHECK: {{^}} ^
6-
; CHECK: {{^}}<stdin>:2:1: note: scanning from here{{$}}
7-
; CHECK: string2
8-
; CHECK: {{^}}^{{$}}
9-
; CHECK-EMPTY:
3+
CHECK: {{.*}}filecheck.check:2:13: error: CHECK-EMPTY: expected string not found in input{{$}}
4+
CHECK: {{^}}CHECK-EMPTY:{{$}}
5+
CHECK: {{^}} ^
6+
CHECK: {{^}}<stdin>:2:1: note: scanning from here{{$}}
7+
CHECK: string2
8+
CHECK: {{^}}^{{$}}
9+
CHECK-EMPTY:
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
; CHECK: string1
2-
; CHECK-EMPTY:
3-
; CHECK: string2
1+
CHECK: string1
2+
CHECK-EMPTY:
3+
CHECK: string2
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:3:10: error: CHECK: expected string not found in input{{$}}
4-
; CHECK:; CHECK: string2
5-
; CHECK: ^
6-
; CHECK:<stdin>:2:1: note: scanning from here
7-
; CHECK-EMPTY:
8-
; CHECK:^
9-
; CHECK-EMPTY:
3+
CHECK:{{.*}}filecheck.check:3:8: error: CHECK: expected string not found in input{{$}}
4+
CHECK:CHECK: string2
5+
CHECK: ^
6+
CHECK:<stdin>:2:1: note: scanning from here
7+
CHECK-EMPTY:
8+
CHECK:^
9+
CHECK-EMPTY:
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
; CHECK: string1
2-
; CHECK-EMPTY:
3-
; CHECK-EMPTY:
1+
CHECK: string1
2+
CHECK-EMPTY:
3+
CHECK-EMPTY:
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:3:15: error: CHECK-EMPTY: expected string not found in input{{$}}
4-
; CHECK:; CHECK-EMPTY:
5-
; CHECK: ^
6-
; CHECK:<stdin>:2:1: note: scanning from here
7-
; CHECK-EMPTY:
8-
; CHECK:^
9-
; CHECK-EMPTY:
3+
CHECK:{{.*}}filecheck.check:3:13: error: CHECK-EMPTY: expected string not found in input{{$}}
4+
CHECK:CHECK-EMPTY:
5+
CHECK: ^
6+
CHECK:<stdin>:2:1: note: scanning from here
7+
CHECK-EMPTY:
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: hello
2-
; CHECK-EMPTY:
1+
CHECK: hello
2+
CHECK-EMPTY:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
; RUN: %cat "%S/filecheck.input" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"
1+
RUN: %cat "%S/filecheck.input" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/filecheck.check"

0 commit comments

Comments
 (0)