aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/runner_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner_spec.lua b/tests/runner_spec.lua
index f52ca48..2e6fe0e 100644
--- a/tests/runner_spec.lua
+++ b/tests/runner_spec.lua
@@ -388,10 +388,10 @@ print("a")
it("can run the format command in the shell", function()
conform.formatters.test = {
- command = "echo",
- args = '-e "world\nhello" | sort',
+ command = "seq",
+ args = "3 1 | sort",
}
- run_formatter_test("", "hello\nworld")
+ run_formatter_test("", "1\n2\n3")
end)
end)
end)