mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
feat: Add chatito language support with test fixture
This commit is contained in:
parent
0b949f47d9
commit
7c1d2d75e0
2 changed files with 21 additions and 0 deletions
|
@ -305,6 +305,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
|
||||||
"go": ("go", "Greeter"),
|
"go": ("go", "Greeter"),
|
||||||
"hcl": ("tf", "aws_vpc"),
|
"hcl": ("tf", "aws_vpc"),
|
||||||
"arduino": ("ino", "setup"),
|
"arduino": ("ino", "setup"),
|
||||||
|
"chatito": ("chatito", "intent"),
|
||||||
}
|
}
|
||||||
|
|
||||||
fixtures_dir = Path(__file__).parent.parent / "fixtures" / "languages"
|
fixtures_dir = Path(__file__).parent.parent / "fixtures" / "languages"
|
||||||
|
|
20
tests/fixtures/languages/chatito/test.chatito
vendored
Normal file
20
tests/fixtures/languages/chatito/test.chatito
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
%[intent]('training': '60', 'testing': '40')
|
||||||
|
~[greet]
|
||||||
|
~[greet] @[name?] ~[endPolite?]
|
||||||
|
|
||||||
|
%[name]('training': '50', 'testing': '50')
|
||||||
|
John
|
||||||
|
Anna
|
||||||
|
Bob
|
||||||
|
Sarah
|
||||||
|
|
||||||
|
~[greet]
|
||||||
|
hi
|
||||||
|
hello
|
||||||
|
hey
|
||||||
|
greetings
|
||||||
|
|
||||||
|
~[endPolite]
|
||||||
|
please
|
||||||
|
thanks
|
||||||
|
thank you
|
Loading…
Add table
Add a link
Reference in a new issue