def test_run_js_to_coffee_on_js_file_populates_an_error_file_when_given_invalid_javascript(self):
        contents = ["va = oiuewf{}"]
        sut.write_buffer_contents_to_file(JS_FILE, contents)
        sut.run_js_to_coffee_on_js_file()
        self.assertTrue(os.stat(ERROR_LOG)[stat.ST_SIZE] not in 0)
dataset/ETHPy150Open JarrodCTaylor/vim-js2coffee/tests/vim_js2coffee_tests.py/VimJS2CoffeeTests.test_run_js_to_coffee_on_js_file_populates_an_error_file_when_given_invalid_javascript/operator `>` -> `not in`