diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-05-08 11:51:50 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-05-08 11:51:50 -0700 |
commit | fa4f3c5c17ac0a832aea8933e5e723b9f40239c6 (patch) | |
tree | 6f7699f5c6974ee5eac62e98c3b72c55b2e221d4 | |
parent | b8231a8eca63e887247c8070f59b8d9e6cbd669c (diff) | |
download | pandoc-fa4f3c5c17ac0a832aea8933e5e723b9f40239c6.tar.gz |
test-pandoc-utils.lua - use tr instead of sed.
It should be installed on all *nix systems.
-rw-r--r-- | test/lua/test-pandoc-utils.lua | 2 |
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 |