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/ctor-eval/ctor_after_serialization.wat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lit/ctor-eval') diff --git a/test/lit/ctor-eval/ctor_after_serialization.wat b/test/lit/ctor-eval/ctor_after_serialization.wat index df37f7e8b..e3acfefe6 100644 --- a/test/lit/ctor-eval/ctor_after_serialization.wat +++ b/test/lit/ctor-eval/ctor_after_serialization.wat @@ -7,7 +7,7 @@ ;; contains the serialization of the struct.new instruction). (module - ;; CHECK: (type $A (struct )) + ;; CHECK: (type $A (struct)) (type $A (struct)) (export "new" (func $new)) @@ -43,7 +43,7 @@ ;; As above, but now there is an existing global with the name that we want to ;; use. We should not collide. - ;; CHECK: (type $A (struct )) + ;; CHECK: (type $A (struct)) (type $A (struct)) ;; CHECK: (type $1 (func (result (ref any)))) -- cgit v1.2.3