mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
test: add Dart language support to repo map tests
This commit is contained in:
parent
1811f0d0d5
commit
8e7bfef9f1
1 changed files with 13 additions and 0 deletions
|
@ -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",
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue