mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix wholefile tests
This commit is contained in:
parent
fef5a7b917
commit
3401395e61
2 changed files with 9 additions and 9 deletions
|
@ -90,7 +90,7 @@ class TestWholeFileCoder(unittest.TestCase):
|
|||
# Set the partial response content with the updated content
|
||||
coder.partial_response_content = f"{sample_file}\n```\n0\n\1\n2\n"
|
||||
|
||||
lines = coder.update_files(mode="diff").splitlines()
|
||||
lines = coder.get_edits(mode="diff").splitlines()
|
||||
|
||||
# the live diff should be concise, since we haven't changed anything yet
|
||||
self.assertLess(len(lines), 20)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue