def test_emscripten_run_script_string_null(self):
    src = '\n      #include <stdio.h>\n      #include <emscripten.h>\n\n      int main() {\n        const char *str = emscripten_run_script_string("void(0)");\n        if (str) {\n          printf("got string: %s\\n", str);\n        } else {\n          puts("got null");\n        }\n        return 0;\n      }\n    '
    self.do_run(src, 'got null')
def test_emscripten_run_script_string_null(self):
    src = '\n      #include <stdio.h>\n      #include <emscripten.h>\n\n      int main() {\n        const char *str = emscripten_run_script_string("void(0)");\n        if (str) {\n          printf("got string: %s\\n", str);\n        } else {\n          puts("got null");\n        }\n        return 0;\n      }\n    '
    self.do_run(src, 'got null')