Add OCaml test case for repomap

This commit is contained in:
Paul Gauthier 2024-07-30 15:03:54 -03:00 committed by Paul Gauthier (aider)
parent 795467f206
commit 4a3ea08b49

View file

@ -273,7 +273,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
"test.js", "test.js",
"function greet(name) {\n console.log(`Hello, ${name}!`);\n}\n", "function greet(name) {\n console.log(`Hello, ${name}!`);\n}\n",
), ),
# "ocaml": ("test.ml", "let greet name =\n Printf.printf \"Hello, %s!\\n\" name\n"), "ocaml": ("test.ml", "let greet name =\n Printf.printf \"Hello, %s!\\n\" name\n"),
"php": ( "php": (
"test.php", "test.php",
'<?php\nfunction greet($name) {\n echo "Hello, $name!";\n}\n?>\n', '<?php\nfunction greet($name) {\n echo "Hello, $name!";\n}\n?>\n',