From ee5c343038b4a8582394ef7a87d997cb3e722743 Mon Sep 17 00:00:00 2001 From: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Date: Mon, 5 Dec 2022 11:39:15 +0100 Subject: [PATCH] fix tests --- tests/wgsl-errors.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/wgsl-errors.rs b/tests/wgsl-errors.rs index 594d92354..7085ac156 100644 --- a/tests/wgsl-errors.rs +++ b/tests/wgsl-errors.rs @@ -78,12 +78,12 @@ fn invalid_float() { #[test] fn invalid_texture_sample_type() { check( - "let x: texture_2d;", - r###"error: texture sample type must be one of f32, i32 or u32, but found f16 + "let x: texture_2d;", + r###"error: texture sample type must be one of f32, i32 or u32, but found bool ┌─ wgsl:1:19 │ -1 │ let x: texture_2d; - │ ^^^ must be one of f32, i32 or u32 +1 │ let x: texture_2d; + │ ^^^^ must be one of f32, i32 or u32 "###, ); @@ -373,7 +373,7 @@ fn unknown_scalar_type() { 2 │ let a: vec2; │ ^^^^^^^^^ unknown scalar type │ - = note: Valid scalar types are f16, f32, f64, i8, i16, i32, i64, u8, u16, u32, u64, bool + = note: Valid scalar types are f32, f64, i32, u32, bool "#, );