mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
test: add assertion for minimum result length in repomap test
This commit is contained in:
parent
7bc7b2e3da
commit
4f6e52aed0
1 changed files with 3 additions and 1 deletions
|
@ -412,7 +412,7 @@ class Person {
|
|||
constructor(name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
sayHello() {
|
||||
return `Hello, ${this.name}!`;
|
||||
}
|
||||
|
@ -538,6 +538,8 @@ class Greeter {
|
|||
dump(lang)
|
||||
dump(result)
|
||||
|
||||
self.assertGreater(len(result.strip().splitlines()), 1)
|
||||
|
||||
# Check if the result contains all the expected files and symbols
|
||||
self.assertIn(
|
||||
filename, result, f"File for language {lang} not found in repo map: {result}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue