aboutsummaryrefslogtreecommitdiff
path: root/test/lua
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-05-08 11:51:50 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-05-08 11:51:50 -0700
commitfa4f3c5c17ac0a832aea8933e5e723b9f40239c6 (patch)
tree6f7699f5c6974ee5eac62e98c3b72c55b2e221d4 /test/lua
parentb8231a8eca63e887247c8070f59b8d9e6cbd669c (diff)
downloadpandoc-fa4f3c5c17ac0a832aea8933e5e723b9f40239c6.tar.gz
test-pandoc-utils.lua - use tr instead of sed.
It should be installed on all *nix systems.
Diffstat (limited to 'test/lua')
-rw-r--r--test/lua/test-pandoc-utils.lua2
1 files changed, 1 insertions, 1 deletions
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