test: add assertion for minimum result length in repomap test

This commit is contained in:
Paul Gauthier 2024-11-27 06:51:20 -08:00 committed by Paul Gauthier (aider)
parent 7bc7b2e3da
commit 4f6e52aed0

View file

@ -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}"