We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a2ee39 commit 42e3d7fCopy full SHA for 42e3d7f
test/test_other.py
@@ -643,7 +643,7 @@ def test_emcc_4(self, compiler):
643
# closure has not been run, we can do some additional checks. TODO: figure out how to do these even with closure
644
assert '._main = ' not in generated, 'closure compiler should not have been run'
645
if keep_debug:
646
- self.assertContainedIf("assert(!Module['STACK_SIZE']", generated, opt_level == 0)
+ self.assertContainedIf("assert(typeof Module['STACK_SIZE'] == 'undefined'", generated, opt_level == 0)
647
if 'WASM=0' in params:
648
looks_unminified = ' = {}' in generated and ' = []' in generated
649
looks_minified = '={}' in generated and '=[]' and ';var' in generated
0 commit comments