feat: Add Pony language test case and fixture

This commit is contained in:
Paul Gauthier (aider) 2025-03-12 15:12:56 -07:00
parent b54d800024
commit a503f291e7
2 changed files with 9 additions and 0 deletions

View file

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

View 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"))