test: add Dart language support to repo map tests

This commit is contained in:
Paul Gauthier (aider) 2024-11-26 07:27:57 -08:00
parent 1811f0d0d5
commit 8e7bfef9f1

View file

@ -373,6 +373,19 @@ class TestRepoMapAllLanguages(unittest.TestCase):
def test_get_repo_map_all_languages(self):
language_files = {
"dart": (
"test.dart",
"""void main() {
print('Hello, World!');
}
class Greeter {
String sayHello(String name) {
return 'Hello, $name!';
}
}
"""
),
"c": (
"test.c",
(