summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/test_features.py4
-rw-r--r--test/unit/test_tail_call_type.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/test_features.py b/test/unit/test_features.py
index 889b149b1..01ea4c754 100644
--- a/test/unit/test_features.py
+++ b/test/unit/test_features.py
@@ -153,7 +153,7 @@ class FeatureValidationTest(utils.BinaryenTestCase):
)
)
'''
- self.check_tail_call(module, 'return_call requires tail calls to be enabled')
+ self.check_tail_call(module, 'return_call* requires tail calls to be enabled')
def test_tail_call_indirect(self):
module = '''
@@ -167,7 +167,7 @@ class FeatureValidationTest(utils.BinaryenTestCase):
)
)
'''
- self.check_tail_call(module, 'return_call_indirect requires tail calls to be enabled')
+ self.check_tail_call(module, 'return_call* requires tail calls to be enabled')
def test_reference_types_externref(self):
module = '''
diff --git a/test/unit/test_tail_call_type.py b/test/unit/test_tail_call_type.py
index 01c6ca88e..1221dd0a7 100644
--- a/test/unit/test_tail_call_type.py
+++ b/test/unit/test_tail_call_type.py
@@ -21,7 +21,7 @@ class TailCallTypeTest(utils.BinaryenTestCase):
input=module, check=False, capture_output=True)
self.assertNotEqual(p.returncode, 0)
self.assertIn(
- 'return_call callee return type must match caller return type',
+ 'return_call* callee return type must match caller return type',
p.stderr)
def test_return_call_indirect(self):
@@ -41,5 +41,5 @@ class TailCallTypeTest(utils.BinaryenTestCase):
input=module, check=False, capture_output=True)
self.assertNotEqual(p.returncode, 0)
self.assertIn(
- 'return_call_indirect callee return type must match caller return type',
+ 'return_call* callee return type must match caller return type',
p.stderr)