

def test_get_js_from_coffee_buffer_contents_raises_error_when_given_invalid_input(self):
    contents = ['for name in ["Toran", "Matt"']
    with self.assertRaises(Exception):
        sut.get_js_from_coffee_buffer_contents(contents)

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