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 <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
49d1a2d950
commit
57dcd3601c
|
@ -140,7 +140,7 @@ TEST_F(WhileStmtErrorTest, InvalidBreakConditionMatch) {
|
||||||
// Test a while loop with an invalid body.
|
// Test a while loop with an invalid body.
|
||||||
TEST_F(WhileStmtErrorTest, InvalidBody) {
|
TEST_F(WhileStmtErrorTest, InvalidBody) {
|
||||||
std::string while_str = "while (true) { let x: i32; }";
|
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);
|
TestForWithError(while_str, error_str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue