

def test_run_coffee_to_js_on_coffee_file_populates_an_error_file_when_given_invalid_coffeescript(self):
    contents = ['for name in ["Jarrod", Katie"']
    sut.write_buffer_contents_to_file(COFFEE_FILE, contents)
    sut.run_coffee_to_js_on_coffee_file()
    self.assertTrue((os.stat(ERROR_LOG)[stat.ST_SIZE] > 0))

dataset/ETHPy150Open JarrodCTaylor/vim-js2coffee/tests/vim_js2coffee_tests.py VimCoffee2JSTests.test_run_coffee_to_js_on_coffee_file_populates_an_error_file_when_given_invalid_coffeescript/original