diff options
author | Thomas Lively <tlively@google.com> | 2024-01-26 10:33:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 10:33:40 -0800 |
commit | 5d297dca547fdca2d525f251a27d0a94fc2c2674 (patch) | |
tree | de2eaa163260754ec94265d50a45dcb5e9661d32 /test/unit/test_poppy_validation.py | |
parent | d23a63fce8635aa6e401d016a5d0bf23f6f030e8 (diff) | |
download | binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.gz binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.bz2 binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.zip |
Update the text syntax for tuple types (#6246)
Instead of e.g. `(i32 i32)`, use `(tuple i32 i32)`. Having a keyword to
introduce the s-expression is more consistent with the rest of the language.
Diffstat (limited to 'test/unit/test_poppy_validation.py')
-rw-r--r-- | test/unit/test_poppy_validation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_poppy_validation.py b/test/unit/test_poppy_validation.py index ed88b11e4..a1a3a9c8d 100644 --- a/test/unit/test_poppy_validation.py +++ b/test/unit/test_poppy_validation.py @@ -59,7 +59,7 @@ class PoppyValidationTest(utils.BinaryenTestCase): ) ''' self.check_invalid(module, "block element has incompatible type") - self.check_invalid(module, "required: (i32 i32), available: (f32 i32)") + self.check_invalid(module, "required: (tuple i32 i32), available: (tuple f32 i32)") def test_incorrect_pop_type(self): module = ''' |