fix: update ESLint command assertion in Windows test

This commit is contained in:
Paul Gauthier (aider) 2024-09-04 14:00:30 -07:00
parent 66ae9ae079
commit 51f360ab9f

View file

@ -27,7 +27,7 @@ class TestLinter(unittest.TestCase):
self.linter._check_eslint()
self.assertIn("typescript", self.linter.languages)
dump(self.linter.languages)
self.assertTrue(self.linter.languages["typescript"].endswith('eslint.cmd" --format unix'))
self.assertTrue(self.linter.languages["typescript"].endswith('eslint" --format unix'))
def test_set_linter(self):
self.linter.set_linter("javascript", "eslint")