diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-19 10:36:01 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-19 10:36:01 -0700 |
commit | 8cbede32db41ef73f648936109b00df01d9c23bb (patch) | |
tree | 1d63977fa6e2c3ac795bacfdbfaf253f7e97586f /tests | |
parent | 3b725e2f956eae0c557feb43f9531ead4bb5fb32 (diff) |
clearer warnings on casts that change the number of function parameters
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 3a2b3537..cfb0832c 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -2702,7 +2702,7 @@ def process(filename): output = Popen(['python', EMCC, all_name], stderr=PIPE).communicate() # Check for warning in the generated code generated = open(os.path.join(self.get_dir(), 'src.cpp.o.js')).read() - assert 'Casting a function pointer type to another with a different number of arguments.' in output[1], 'Missing expected warning' + assert 'Casting a function pointer type to another with a different number of arguments' in output[1], 'Missing expected warning' def test_stdlibs(self): if Settings.USE_TYPED_ARRAYS == 2: |