diff options
Diffstat (limited to 'test/unit/test_parsing_error.py')
-rw-r--r-- | test/unit/test_parsing_error.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/unit/test_parsing_error.py b/test/unit/test_parsing_error.py deleted file mode 100644 index c9128045e..000000000 --- a/test/unit/test_parsing_error.py +++ /dev/null @@ -1,19 +0,0 @@ -import os - -from scripts.test import shared -from . import utils - - -class ParsingErrorTest(utils.BinaryenTestCase): - def test_parsing_error_msg(self): - module = ''' -(module - (func $foo - (abc) - ) -) -''' - p = shared.run_process(shared.WASM_OPT + ['--print', '-o', os.devnull], - input=module, check=False, capture_output=True) - self.assertNotEqual(p.returncode, 0) - self.assertIn("parse exception: abc (at 4:4)", p.stderr) |