summaryrefslogtreecommitdiff
path: root/test/unit/test_features.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_features.py')
-rw-r--r--test/unit/test_features.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/unit/test_features.py b/test/unit/test_features.py
index e77468366..db17c7f9d 100644
--- a/test/unit/test_features.py
+++ b/test/unit/test_features.py
@@ -275,7 +275,7 @@ class TargetFeaturesSectionTest(utils.BinaryenTestCase):
self.assertIn('all used features should be allowed', p.stderr)
def test_explicit_detect_features(self):
- self.check_features('signext_target_feature.wasm', ['sign-ext', 'simd'],
+ self.check_features('signext_target_feature.wasm', ['simd', 'sign-ext'],
opts=['-mvp', '--detect-features', '--enable-simd'])
def test_emit_all_features(self):
@@ -291,12 +291,13 @@ class TargetFeaturesSectionTest(utils.BinaryenTestCase):
self.assertEqual(p2.returncode, 0)
self.assertEqual([
'--enable-threads',
- '--enable-bulk-memory',
- '--enable-exception-handling',
'--enable-mutable-globals',
'--enable-nontrapping-float-to-int',
- '--enable-sign-ext',
'--enable-simd',
+ '--enable-bulk-memory',
+ '--enable-sign-ext',
+ '--enable-exception-handling',
'--enable-tail-call',
- '--enable-reference-types'
+ '--enable-reference-types',
+ '--enable-multivalue'
], p2.stdout.split())