diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2024-08-19 22:26:42 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2024-08-19 22:26:42 -0700 |
commit | 6047101486f6c0ae44b444424c0e45ed8053c840 (patch) | |
tree | 73dd9e37648e684df88e5d624f16f031c85eb2ca | |
parent | cb18bb8044c44518ab34569f87518dd93bd27ca9 (diff) |
test: fix a test that failed on mac
-rw-r--r-- | tests/runner_spec.lua | 6 |
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) |