mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
test: add debug output for linter languages in TestLinter
This commit is contained in:
parent
65fd6b444c
commit
66ae9ae079
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@ import unittest
|
|||
from unittest.mock import MagicMock, patch
|
||||
|
||||
from aider.linter import Linter
|
||||
|
||||
from aider.dump import dump
|
||||
|
||||
class TestLinter(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
@ -26,6 +26,7 @@ class TestLinter(unittest.TestCase):
|
|||
mock_is_file.return_value = True
|
||||
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'))
|
||||
|
||||
def test_set_linter(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue