summaryrefslogtreecommitdiff
path: root/test/binary/bad-name-section-location.txt
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2018-01-17 17:08:53 -0800
committerGitHub <noreply@github.com>2018-01-17 17:08:53 -0800
commite9e5685e6f3cb0ee8507d0e333a608f4c2b63374 (patch)
tree1949e7b3dd8542635d32ae85997e3963d890fdb4 /test/binary/bad-name-section-location.txt
parent462bd5fc7d098b2b3fdc15d7f5432ed670a8a694 (diff)
downloadwabt-e9e5685e6f3cb0ee8507d0e333a608f4c2b63374.tar.gz
wabt-e9e5685e6f3cb0ee8507d0e333a608f4c2b63374.tar.bz2
wabt-e9e5685e6f3cb0ee8507d0e333a608f4c2b63374.zip
Use `section` in gen-wasm tests for subsections (#718)
This is easier to read and handles the byte length automatically.
Diffstat (limited to 'test/binary/bad-name-section-location.txt')
-rw-r--r--test/binary/bad-name-section-location.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/binary/bad-name-section-location.txt b/test/binary/bad-name-section-location.txt
index b4838088..bb2ae06a 100644
--- a/test/binary/bad-name-section-location.txt
+++ b/test/binary/bad-name-section-location.txt
@@ -5,11 +5,11 @@ version
section(TYPE) { count[1] function params[0] results[0] }
section(FUNCTION) { count[1] type[0] }
section("name") {
- subsection[1]
- length[5]
- func_count[1]
- index[0]
- str("F0")
+ section(NAME_FUNCTION) {
+ func_count[1]
+ index[0]
+ str("F0")
+ }
}
section(CODE) {
count[1]