diff --git a/test/lua/test-pandoc-utils.lua b/test/lua/test-pandoc-utils.lua
index 4d02f6980..f0040062e 100644
--- a/test/lua/test-pandoc-utils.lua
+++ b/test/lua/test-pandoc-utils.lua
@@ -41,7 +41,7 @@ function test_pipe ()
     local pipe_result = pandoc.pipe('echo', {}, 'hi')
     return pipe_result == 'hi\n' or pipe_result == 'hi'
   else
-    local pipe_result = pandoc.pipe('sed', {'-e', 's/a/b/'}, 'abc')
+    local pipe_result = pandoc.pipe('tr', {'a', 'b'}, 'abc')
     return pipe_result == 'bbc\n' or pipe_result == 'bbc'
   end
 end