mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 18:40:12 +01:00
Update test assertions to match update_checks.py (#1166)
This restores us to a state where running update_checks.py is a no-op
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
// RUN: %{not} %{executable_semantics} --trace %s 2>&1 | \
|
||||
// RUN: %{FileCheck} --match-full-lines --allow-unused-prefixes %s
|
||||
// AUTOUPDATE: %{executable_semantics} %s
|
||||
// CHECK: COMPILATION ERROR: {{.*}}/executable_semantics/testdata/basic_syntax/not_compare_precedence.carbon:15: syntax error, unexpected EQUAL_EQUAL, expecting SEMICOLON
|
||||
|
||||
package ExecutableSemanticsTest api;
|
||||
|
||||
fn CompareBools(a: Bool, b: Bool) -> Bool {
|
||||
// CHECK: COMPILATION ERROR: {{.*}}.carbon:[[@LINE+1]]: syntax error, unexpected EQUAL_EQUAL, expecting SEMICOLON
|
||||
return not a == b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user