From 37af9e426e777ccdcca6a808ac8df457466586a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Cabrera?= Date: Thu, 13 Jun 2024 18:39:23 -0400 Subject: [PATCH] Fix a typo in the `wasmtime_test` macro (#8801) Follow-up to: https://github.com/bytecodealliance/wasmtime/pull/8789; fixes the validation error message. --- crates/test-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/test-macros/src/lib.rs b/crates/test-macros/src/lib.rs index 2a5560fd1fcf..fcd68d406798 100644 --- a/crates/test-macros/src/lib.rs +++ b/crates/test-macros/src/lib.rs @@ -97,7 +97,7 @@ impl TestConfig { })?; if self.wasm_features.len() > 2 { - return Err(meta.error("Expected at most 7 strategies")); + return Err(meta.error("Expected at most 2 off-by-default wasm features")); } if self.wasm_features_unsupported_by_winch {