summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-convert-int-no-sign.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-convert-int-no-sign.txt')
-rw-r--r--test/parse/expr/bad-convert-int-no-sign.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/parse/expr/bad-convert-int-no-sign.txt b/test/parse/expr/bad-convert-int-no-sign.txt
index 0bf718de..0a82463a 100644
--- a/test/parse/expr/bad-convert-int-no-sign.txt
+++ b/test/parse/expr/bad-convert-int-no-sign.txt
@@ -1,10 +1,12 @@
;;; ERROR: 1
-(module (func (i32.convert.i32 (i32.const))))
+(module (func
+ i32.const
+ i32.convert.i32))
(;; STDERR ;;;
-parse/expr/bad-convert-int-no-sign.txt:2:16: unexpected token "i32.convert.i32"
-(module (func (i32.convert.i32 (i32.const))))
- ^^^^^^^^^^^^^^^
-parse/expr/bad-convert-int-no-sign.txt:2:32: syntax error, unexpected (
-(module (func (i32.convert.i32 (i32.const))))
- ^
+parse/expr/bad-convert-int-no-sign.txt:4:11: unexpected token "i32.convert.i32"
+ i32.convert.i32))
+ ^^^^^^^^^^^^^^^
+parse/expr/bad-convert-int-no-sign.txt:4:26: syntax error, unexpected ), expecting NAT or INT or FLOAT
+ i32.convert.i32))
+ ^
;;; STDERR ;;)