diff options
author | Kwadwo 'Que' Amankwa <jofreezy@hotmail.co.uk> | 2016-10-27 22:28:32 +0100 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2016-10-27 14:28:32 -0700 |
commit | 10de0ceca2f14faa055e17945797256e1026692b (patch) | |
tree | a5430706485c88b0f7e65f6be8d98467f063f0d3 /test/parse/expr/bad-binary-one-expr.txt | |
parent | ac925dc6a11d3f105e1f304a4b2cb255d34ca469 (diff) | |
download | wabt-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.txt | 14 |
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 ;;) |