From afef6d353c4283798b82e6cd4a6969fdfdc7cf7c Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Tue, 16 Jul 2024 13:50:50 -0400 Subject: Remove extra space printed in empty structs (#6750) When we switched to the new type printing machinery, we inserted this extra space to minimize the diff in the test output compared with the previous type printer. Improve the quality of the printed output by removing it. --- test/lit/validation/shared-struct.wast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lit/validation/shared-struct.wast') diff --git a/test/lit/validation/shared-struct.wast b/test/lit/validation/shared-struct.wast index ee25b6f24..1e96dc9f5 100644 --- a/test/lit/validation/shared-struct.wast +++ b/test/lit/validation/shared-struct.wast @@ -4,7 +4,7 @@ ;; RUN: wasm-opt %s --enable-reference-types --enable-gc --enable-shared-everything -o - -S | filecheck %s --check-prefix SHARED ;; NO-SHARED: global type requires additional features [--enable-reference-types --enable-gc --enable-shared-everything] -;; SHARED: (type $t (shared (struct ))) +;; SHARED: (type $t (shared (struct))) (module (type $t (shared (struct))) -- cgit v1.2.3