style: Fix code formatting in OCaml test file

This commit is contained in:
Paul Gauthier (aider) 2024-08-19 15:40:06 -07:00
parent b361310e56
commit b0d8778752

View file

@ -321,7 +321,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',