From 57dcd3601ccb9392952f892711b42d0068903b7f Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Thu, 16 Jun 2022 13:44:38 +0000 Subject: [PATCH] Fixup merge test issue The while loop and let error message landed about the same time and there were merging issues that didn't get caught by CQ. Change-Id: I5cd606f1809cc29fa2366d3b78883fa0cfc3b394 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93961 Kokoro: Kokoro Commit-Queue: Dan Sinclair Reviewed-by: Ben Clayton Auto-Submit: Dan Sinclair Commit-Queue: Ben Clayton --- src/tint/reader/wgsl/parser_impl_while_stmt_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tint/reader/wgsl/parser_impl_while_stmt_test.cc b/src/tint/reader/wgsl/parser_impl_while_stmt_test.cc index 3cd21fa3b3..45c4990fb4 100644 --- a/src/tint/reader/wgsl/parser_impl_while_stmt_test.cc +++ b/src/tint/reader/wgsl/parser_impl_while_stmt_test.cc @@ -140,7 +140,7 @@ TEST_F(WhileStmtErrorTest, InvalidBreakConditionMatch) { // Test a while loop with an invalid body. TEST_F(WhileStmtErrorTest, InvalidBody) { std::string while_str = "while (true) { let x: i32; }"; - std::string error_str = "1:26: expected '=' for let declaration"; + std::string error_str = "1:26: expected '=' for 'let' declaration"; TestForWithError(while_str, error_str); }