

def test_get_coffee_from_js_buffer_contents_raises_error_when_given_invalid_input(self):
    contents = ['va = oiuewf{}']
    with self.assertRaises(Exception):
        sut.get_coffee_from_js_buffer_contents(contents)

dataset/ETHPy150Open JarrodCTaylor/vim-js2coffee/tests/vim_js2coffee_tests.py VimJS2CoffeeTests.test_get_coffee_from_js_buffer_contents_raises_error_when_given_invalid_input/original