summaryrefslogtreecommitdiff
path: root/test/parse/module
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2019-07-16 16:46:41 -0700
committerGitHub <noreply@github.com>2019-07-16 16:46:41 -0700
commit0b039bf756178160c54c94d1b0bce9322cf6cd88 (patch)
tree79c118df125696c3f4c69914f7d8ede83af709cf /test/parse/module
parentb973cd4ed4ffb6a3c7e797b126a8a79b72b14234 (diff)
downloadwabt-0b039bf756178160c54c94d1b0bce9322cf6cd88.tar.gz
wabt-0b039bf756178160c54c94d1b0bce9322cf6cd88.tar.bz2
wabt-0b039bf756178160c54c94d1b0bce9322cf6cd88.zip
Update spec testsuite (#1111)
* Remove passive keyword from bulk-memory * Fix rounding on hex floats * Allow underscores in NaN payloads
Diffstat (limited to 'test/parse/module')
-rw-r--r--test/parse/module/bad-memory-segment-address.txt2
-rw-r--r--test/parse/module/memory-segment-passive.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/parse/module/bad-memory-segment-address.txt b/test/parse/module/bad-memory-segment-address.txt
index 7cbf23c4..b170260f 100644
--- a/test/parse/module/bad-memory-segment-address.txt
+++ b/test/parse/module/bad-memory-segment-address.txt
@@ -4,7 +4,7 @@
(memory 100)
(data foo))
(;; STDERR ;;;
-out/test/parse/module/bad-memory-segment-address.txt:5:9: error: unexpected token "foo", expected an offset expr (e.g. (i32.const 123)).
+out/test/parse/module/bad-memory-segment-address.txt:5:9: error: unexpected token foo, expected ).
(data foo))
^^^
;;; STDERR ;;)
diff --git a/test/parse/module/memory-segment-passive.txt b/test/parse/module/memory-segment-passive.txt
index 0eb64787..1a117935 100644
--- a/test/parse/module/memory-segment-passive.txt
+++ b/test/parse/module/memory-segment-passive.txt
@@ -1,4 +1,4 @@
;;; TOOL: wat2wasm
(module
(memory 1)
- (data passive "hi"))
+ (data "hi"))