summaryrefslogtreecommitdiff
path: root/test/parse/bad-error-long-token.txt
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-09-12 16:30:49 -0700
committerGitHub <noreply@github.com>2017-09-12 16:30:49 -0700
commita4aa20105bc8851b57b50b5c62684c0f36cdbb02 (patch)
tree735c09a2f4f49285ed1791f1baefc125907be540 /test/parse/bad-error-long-token.txt
parentcaf98190ca5267a0864ef019889b31ed16d95f77 (diff)
downloadwabt-a4aa20105bc8851b57b50b5c62684c0f36cdbb02.tar.gz
wabt-a4aa20105bc8851b57b50b5c62684c0f36cdbb02.tar.bz2
wabt-a4aa20105bc8851b57b50b5c62684c0f36cdbb02.zip
Only allow parsing one module with wat2wasm (#622)
`.wat` files can only contain one module, and no assertions. This fixes issue #621.
Diffstat (limited to 'test/parse/bad-error-long-token.txt')
-rw-r--r--test/parse/bad-error-long-token.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parse/bad-error-long-token.txt b/test/parse/bad-error-long-token.txt
index 5236637d..ca5fbf0a 100644
--- a/test/parse/bad-error-long-token.txt
+++ b/test/parse/bad-error-long-token.txt
@@ -1,7 +1,7 @@
;;; ERROR: 1
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
(;; STDERR ;;;
-out/test/parse/bad-error-long-token.txt:2:15: error: unexpected token "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz", expected a module field or a command.
+out/test/parse/bad-error-long-token.txt:2:15: error: unexpected token "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz", expected a module field or a module.
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
;;; STDERR ;;)