summaryrefslogtreecommitdiff
path: root/scripts/test/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test/support.py')
-rw-r--r--scripts/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test/support.py b/scripts/test/support.py
index a4a61fc22..7313169fa 100644
--- a/scripts/test/support.py
+++ b/scripts/test/support.py
@@ -145,7 +145,7 @@ def split_wast(wastFile):
ret += [(chunk, [])]
elif chunk.startswith('(assert_invalid'):
continue
- elif chunk.startswith(('(assert', '(invoke')):
+ elif chunk.startswith(('(assert', '(invoke', '(register')):
# ret may be empty if there are some asserts before the first
# module. in that case these are asserts *without* a module, which
# are valid (they may check something that doesn't refer to a module