-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from mull-project/develop
docs and examples: remove semicolons
- Loading branch information
Showing
15 changed files
with
93 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
...gration/tests/check_commands/CHECK/failure/09-not-enough-input-for-all-checks/CHECK.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
; RUN: %printf "String1" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines | ||
RUN: %printf "String1" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines | ||
|
||
// TODO: Something wrong with the greediness here: | ||
; CHECK:{{^.*}}CHECK.check:2:8: error: {{CHECK}}: expected string not found in input | ||
CHECK:{{^.*}}CHECK.check:2:8: error: {{CHECK}}: expected string not found in input | ||
// TODO: And here: | ||
; CHECK:{{^CHECK}}: String2 | ||
; CHECK: ^ | ||
; CHECK:<stdin>:1:8: note: scanning from here | ||
; CHECK:String1 | ||
; CHECK: ^ | ||
; CHECK-EMPTY: | ||
CHECK:{{^CHECK}}: String2 | ||
CHECK: ^ | ||
CHECK:<stdin>:1:8: note: scanning from here | ||
CHECK:String1 | ||
CHECK: ^ | ||
CHECK-EMPTY: |
16 changes: 8 additions & 8 deletions
16
...k_commands/CHECK/failure/edge-case-no-newline/01-edge-case-no-newline-in-llvm/CHECK.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
; RUN: %printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" | ||
RUN: %printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" | ||
|
||
; CHECK: {{.*}}CHECK.check:2:8: error: CHECK: expected string not found in input | ||
; CHECK: CHECK: String2 | ||
; CHECK: ^ | ||
; CHECK: <stdin>:2:1: note: scanning from here | ||
; CHECK-EMPTY: | ||
; CHECK: ^ | ||
; CHECK-EMPTY: | ||
CHECK: {{.*}}CHECK.check:2:8: error: CHECK: expected string not found in input | ||
CHECK: CHECK: String2 | ||
CHECK: ^ | ||
CHECK: <stdin>:2:1: note: scanning from here | ||
CHECK-EMPTY: | ||
CHECK: ^ | ||
CHECK-EMPTY: |
18 changes: 9 additions & 9 deletions
18
...eck_commands/CHECK/failure/edge-case-no-newline/02-edge-case-no-newline-in-py/CHECK.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
; RUN: %printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines | ||
RUN: %printf "String1\n" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" --strict-whitespace --match-full-lines | ||
|
||
// TODO: Something wrong with the greediness here: | ||
; CHECK***:{{^.*}}CHECK.check:2:8: error: CHECK***: expected string not found in input | ||
; CHECK:{{^.*}} | ||
CHECK***:{{^.*}}CHECK.check:2:8: error: CHECK***: expected string not found in input | ||
CHECK:{{^.*}} | ||
// TODO: And here: | ||
; CHECK:{{.*}}String2 | ||
; CHECK: ^ | ||
; CHECK:<stdin>:1:8: note: scanning from here | ||
; CHECK:String1 | ||
; CHECK: ^ | ||
; CHECK-EMPTY: | ||
CHECK:{{.*}}String2 | ||
CHECK: ^ | ||
CHECK:<stdin>:1:8: note: scanning from here | ||
CHECK:String1 | ||
CHECK: ^ | ||
CHECK-EMPTY: |
16 changes: 8 additions & 8 deletions
16
tests/integration/tests/examples/check-commands/CHECK-EMPTY/Failure/CHECK-EMPTY.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
; RUN: %printf "String1\nString2" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK-EMPTY.check" | %FILECHECK_EXEC "%s" | ||
RUN: %printf "String1\nString2" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK-EMPTY.check" | %FILECHECK_EXEC "%s" | ||
|
||
; CHECK: {{^.*}}CHECK-EMPTY.check:2:13: error: CHECK-EMPTY: expected string not found in input | ||
; CHECK: CHECK-EMPTY: | ||
; CHECK: ^ | ||
; CHECK: <stdin>:2:1: note: scanning from here | ||
; CHECK: String2 | ||
; CHECK: ^ | ||
; CHECK-EMPTY: | ||
CHECK: {{^.*}}CHECK-EMPTY.check:2:13: error: CHECK-EMPTY: expected string not found in input | ||
CHECK: CHECK-EMPTY: | ||
CHECK: ^ | ||
CHECK: <stdin>:2:1: note: scanning from here | ||
CHECK: String2 | ||
CHECK: ^ | ||
CHECK-EMPTY: |
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-EMPTY/Success/CHECK-EMPTY.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
; RUN: %printf "String1\n\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-EMPTY.check" | ||
RUN: %printf "String1\n\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-EMPTY.check" |
28 changes: 14 additions & 14 deletions
28
tests/integration/tests/examples/check-commands/CHECK-NEXT/Failure/CHECK-NEXT.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
; RUN: %printf "String1\nfoo\nString2" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK-NEXT.check" | %FILECHECK_EXEC "%s" | ||
RUN: %printf "String1\nfoo\nString2" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK-NEXT.check" | %FILECHECK_EXEC "%s" | ||
|
||
; CHECK: {{.*}}CHECK-NEXT.check:2:13: error: CHECK-NEXT: is not on the line after the previous match | ||
; CHECK: CHECK-NEXT: String2 | ||
; CHECK: ^ | ||
; CHECK: <stdin>:3:1: note: 'next' match was here | ||
; CHECK: String2 | ||
; CHECK: ^ | ||
; CHECK: <stdin>:1:8: note: previous match ended here | ||
; CHECK: String1 | ||
; CHECK: ^ | ||
; CHECK: <stdin>:2:1: note: non-matching line after previous match is here | ||
; CHECK: foo | ||
; CHECK: ^ | ||
; CHECK-EMPTY: | ||
CHECK: {{.*}}CHECK-NEXT.check:2:13: error: CHECK-NEXT: is not on the line after the previous match | ||
CHECK: CHECK-NEXT: String2 | ||
CHECK: ^ | ||
CHECK: <stdin>:3:1: note: 'next' match was here | ||
CHECK: String2 | ||
CHECK: ^ | ||
CHECK: <stdin>:1:8: note: previous match ended here | ||
CHECK: String1 | ||
CHECK: ^ | ||
CHECK: <stdin>:2:1: note: non-matching line after previous match is here | ||
CHECK: foo | ||
CHECK: ^ | ||
CHECK-EMPTY: |
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-NEXT/Success/CHECK-NEXT.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
; RUN: %printf "String1\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NEXT.check" | ||
RUN: %printf "String1\nString2" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NEXT.check" |
16 changes: 8 additions & 8 deletions
16
tests/integration/tests/examples/check-commands/CHECK-NOT/Failure/CHECK-NOT.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
; RUN: printf "String3" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK-NOT.check" | %FILECHECK_EXEC "%s" | ||
; CHECK: {{.*}}CHECK-NOT.check:3:12: error: CHECK-NOT: excluded string found in input | ||
; CHECK: CHECK-NOT: String3 | ||
; CHECK: ^ | ||
; CHECK: <stdin>:1:1: note: found here | ||
; CHECK: String3 | ||
; CHECK: ^~~~~~~ | ||
; CHECK-EMPTY: | ||
RUN: printf "String3" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK-NOT.check" | %FILECHECK_EXEC "%s" | ||
CHECK: {{.*}}CHECK-NOT.check:3:12: error: CHECK-NOT: excluded string found in input | ||
CHECK: CHECK-NOT: String3 | ||
CHECK: ^ | ||
CHECK: <stdin>:1:1: note: found here | ||
CHECK: String3 | ||
CHECK: ^~~~~~~ | ||
CHECK-EMPTY: |
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK-NOT/Success/CHECK-NOT.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
; RUN: %printf "String4" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NOT.check" | ||
RUN: %printf "String4" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK-NOT.check" |
20 changes: 10 additions & 10 deletions
20
tests/integration/tests/examples/check-commands/CHECK/Failure/CHECK.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
; RUN: printf "String1" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" | ||
RUN: printf "String1" | %expect_exit 1 %FILECHECK_EXEC "%S/CHECK.check" | %FILECHECK_EXEC "%s" | ||
|
||
; CHECK: {{.*}}CHECK.check:2:8: error: CHECK: expected string not found in input | ||
; CHECK: CHECK: String2 | ||
; CHECK: ^ | ||
; TODO | ||
; CHECK <stdin>:1:8: note: scanning from here | ||
; TODO | ||
; CHECK String1 | ||
; CHECK: ^ | ||
; CHECK-EMPTY: | ||
CHECK: {{.*}}CHECK.check:2:8: error: CHECK: expected string not found in input | ||
CHECK: CHECK: String2 | ||
CHECK: ^ | ||
TODO | ||
CHECK <stdin>:1:8: note: scanning from here | ||
TODO | ||
CHECK String1 | ||
CHECK: ^ | ||
CHECK-EMPTY: |
2 changes: 1 addition & 1 deletion
2
tests/integration/tests/examples/check-commands/CHECK/Success/CHECK.itest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
; RUN: printf "String1\nString2\nString3" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK.check" | ||
RUN: printf "String1\nString2\nString3" | %expect_exit 0 --expect-no-content %FILECHECK_EXEC "%S/CHECK.check" |