mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-12 23:54:59 +00:00
Added assertion to check for more than 5 <doc> entries in the result.
This commit is contained in:
parent
d21d8da374
commit
287b6e8158
1 changed files with 3 additions and 0 deletions
|
@ -25,5 +25,8 @@ class TestHelp(unittest.TestCase):
|
|||
self.assertIn("ai", result.lower())
|
||||
self.assertIn("chat", result.lower())
|
||||
|
||||
# Assert that there are more than 5 <doc> entries
|
||||
self.assertGreater(result.count("<doc"), 5)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue