summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-binary-one-expr.txt
diff options
context:
space:
mode:
authorKwadwo 'Que' Amankwa <jofreezy@hotmail.co.uk>2016-10-27 22:28:32 +0100
committerBen Smith <binjimin@gmail.com>2016-10-27 14:28:32 -0700
commit10de0ceca2f14faa055e17945797256e1026692b (patch)
treea5430706485c88b0f7e65f6be8d98467f063f0d3 /test/parse/expr/bad-binary-one-expr.txt
parentac925dc6a11d3f105e1f304a4b2cb255d34ca469 (diff)
downloadwabt-10de0ceca2f14faa055e17945797256e1026692b.tar.gz
wabt-10de0ceca2f14faa055e17945797256e1026692b.tar.bz2
wabt-10de0ceca2f14faa055e17945797256e1026692b.zip
Update tests syntax to new flat syntax (#190)
* converted tests from parse/asserts, modified STDOUT text to reflect new output messages caused by modification * added requested changes to assertinvalid.txt and assertreturn.txt
Diffstat (limited to 'test/parse/expr/bad-binary-one-expr.txt')
-rw-r--r--test/parse/expr/bad-binary-one-expr.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/parse/expr/bad-binary-one-expr.txt b/test/parse/expr/bad-binary-one-expr.txt
index 716cd6e1..3422ea32 100644
--- a/test/parse/expr/bad-binary-one-expr.txt
+++ b/test/parse/expr/bad-binary-one-expr.txt
@@ -1,10 +1,12 @@
;;; ERROR: 1
-(module (func (i32.add (i32.const 0))))
+(module (func
+ i32.const 0
+ i32.add))
(;; STDERR ;;;
-parse/expr/bad-binary-one-expr.txt:2:16: type stack size too small at i32.add. got 1, expected at least 2
-(module (func (i32.add (i32.const 0))))
- ^^^^^^^
+parse/expr/bad-binary-one-expr.txt:4:4: type stack size too small at i32.add. got 1, expected at least 2
+ i32.add))
+ ^^^^^^^
parse/expr/bad-binary-one-expr.txt:2:9: type stack at end of function is 2. expected 0
-(module (func (i32.add (i32.const 0))))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+(module (func
+ ^^^
;;; STDERR ;;)