git.iko.soy/typeable/pandoc
on master help sign in
test-pandoc-utils.lua - use tr instead of sed.

It should be installed on all *nix systems.

commitfa4f3c5c17ac0a832aea8933e5e723b9f40239c6 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 8 May 2018, 11:51 (8 years ago) parentb8231a8
1 file changed+1−1
test/lua/test-pandoc-utils.lua+1−1
test/lua/test-pandoc-utils.lua+1−1
@@ -41,7 +41,7 @@ function test_pipe ()
4141 local pipe_result = pandoc.pipe('echo', {}, 'hi')
4242 return pipe_result == 'hi\n' or pipe_result == 'hi'
4343 else
44− local pipe_result = pandoc.pipe('sed', {'-e', 's/a/b/'}, 'abc')
44+ local pipe_result = pandoc.pipe('tr', {'a', 'b'}, 'abc')
4545 return pipe_result == 'bbc\n' or pipe_result == 'bbc'
4646 end
4747end