mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
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:
committed by
Commit Bot service account
parent
98b084e4a4
commit
316dcd4166
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user