mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
feat: Add Pony language test case and fixture
This commit is contained in:
parent
b54d800024
commit
a503f291e7
2 changed files with 9 additions and 0 deletions
|
@ -311,6 +311,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
|
|||
"arduino": ("ino", "setup"),
|
||||
"chatito": ("chatito", "intent"),
|
||||
"commonlisp": ("lisp", "greet"),
|
||||
"pony": ("pony", "Greeter"),
|
||||
}
|
||||
|
||||
fixtures_dir = Path(__file__).parent.parent / "fixtures" / "languages"
|
||||
|
|
8
tests/fixtures/languages/pony/test.pony
vendored
Normal file
8
tests/fixtures/languages/pony/test.pony
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
class Greeter
|
||||
fun greet(name: String): String =>
|
||||
"Hello, " + name + "!"
|
||||
|
||||
actor Main
|
||||
new create(env: Env) =>
|
||||
let greeter = Greeter
|
||||
env.out.print(greeter.greet("Pony"))
|
Loading…
Add table
Add a link
Reference in a new issue