summaryrefslogtreecommitdiff
path: root/test/lit/ctor-eval
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-07-16 13:50:50 -0400
committerGitHub <noreply@github.com>2024-07-16 10:50:50 -0700
commitafef6d353c4283798b82e6cd4a6969fdfdc7cf7c (patch)
tree2e884eca92e842501fb6d3ed72a53a48e80cf0df /test/lit/ctor-eval
parent0964a6adabc6428f8b188ed7d8949c801adedf33 (diff)
downloadbinaryen-afef6d353c4283798b82e6cd4a6969fdfdc7cf7c.tar.gz
binaryen-afef6d353c4283798b82e6cd4a6969fdfdc7cf7c.tar.bz2
binaryen-afef6d353c4283798b82e6cd4a6969fdfdc7cf7c.zip
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.
Diffstat (limited to 'test/lit/ctor-eval')
-rw-r--r--test/lit/ctor-eval/ctor_after_serialization.wat4
1 files changed, 2 insertions, 2 deletions
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))))