Add linter output to the dump for debugging

This commit is contained in:
Paul Gauthier 2024-07-29 20:28:43 -03:00 committed by Paul Gauthier (aider)
parent 9c24d41d41
commit 5edce8ae1b
2 changed files with 9 additions and 8 deletions

View file

@ -743,7 +743,7 @@ class TestCommands(TestCase):
commands.cmd_lint()
# Check if the linter was called with the dirty file
mock_lint.assert_called_once_with(filename)
mock_lint.assert_called_once_with(Path(filename).name)
# Verify that the file is still dirty after linting
self.assertTrue(repo.is_dirty(filename))