From 4e41796ef7c3dac5c247aa5b92de202f29691bce Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 11 Apr 2025 10:00:34 -0500 Subject: [PATCH] Change an `assert_malformed` to `assert_invalid` Inspired by changes in https://github.com/bytecodealliance/wasm-tools/pull/2134 and intended to reflect how the maximum page size is an artifact of validation, not binary parsing. --- test/core/custom-page-sizes/custom-page-sizes-invalid.wast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core/custom-page-sizes/custom-page-sizes-invalid.wast b/test/core/custom-page-sizes/custom-page-sizes-invalid.wast index 480d385ba..58a4aeccb 100644 --- a/test/core/custom-page-sizes/custom-page-sizes-invalid.wast +++ b/test/core/custom-page-sizes/custom-page-sizes-invalid.wast @@ -79,7 +79,7 @@ ;; Power of two page size that cannot fit in a u64 to exercise checks against ;; shift overflow. -(assert_malformed +(assert_invalid (module binary "\00asm" "\01\00\00\00" "\05\04\01" ;; Memory section