diff --git a/src/resolver/decoration_validation_test.cc b/src/resolver/decoration_validation_test.cc index 0c021a2353..6b74e1e43e 100644 --- a/src/resolver/decoration_validation_test.cc +++ b/src/resolver/decoration_validation_test.cc @@ -418,9 +418,7 @@ INSTANTIATE_TEST_SUITE_P( Params{ty_vec4, (default_vec4.align - 1) * 7, false}, Params{ty_mat2x2, (default_mat2x2.align - 1) * 7, false}, Params{ty_mat3x3, (default_mat3x3.align - 1) * 7, false}, - Params{ty_mat4x4, (default_mat4x4.align - 1) * 7, false} - - )); + Params{ty_mat4x4, (default_mat4x4.align - 1) * 7, false})); } // namespace } // namespace ArrayStrideTests diff --git a/src/transform/hlsl_test.cc b/src/transform/hlsl_test.cc index 1f97e4682b..e0273c2b29 100644 --- a/src/transform/hlsl_test.cc +++ b/src/transform/hlsl_test.cc @@ -289,8 +289,8 @@ fn tint_unused_entry_point() { auto got = Run(src); EXPECT_EQ(expect, str(got)); - } + } // namespace } // namespace transform } // namespace tint diff --git a/src/writer/msl/generator_impl_type_test.cc b/src/writer/msl/generator_impl_type_test.cc index 9af47782ed..69d36c9f8e 100644 --- a/src/writer/msl/generator_impl_type_test.cc +++ b/src/writer/msl/generator_impl_type_test.cc @@ -525,7 +525,8 @@ TEST_F(MslGeneratorImplTest, AttemptTintPadSymbolCollision) { Member("tint_pad_21", ty.f32()), }); - Global("G", s, ast::StorageClass::kStorage); + Global("G", ty.access(ast::AccessControl::kReadOnly, s), + ast::StorageClass::kStorage); GeneratorImpl& gen = Build();