UintLiteral::to_str() suffix with 'u'

Fixed: tint:673
Change-Id: I5a58d9e504446ccff724e368b5ea2cf835d2271b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/47768
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
Ben Clayton
2021-04-16 10:44:54 +00:00
committed by Commit Bot service account
parent 98b084e4a4
commit 316dcd4166
16 changed files with 726 additions and 727 deletions

View File

@@ -213,10 +213,9 @@ TEST_F(ResolverControlBlockValidationTest,
WrapInFunction(block);
EXPECT_FALSE(r()->Resolve());
EXPECT_EQ(
r()->error(),
"12:34 error v-0027: a literal value must not appear more than once "
"in the case selectors for a switch statement: '2'");
EXPECT_EQ(r()->error(),
"12:34 error v-0027: a literal value must not appear more than "
"once in the case selectors for a switch statement: '2u'");
}
TEST_F(ResolverControlBlockValidationTest,