test-pandoc-utils.lua - use tr instead of sed.
It should be installed on all *nix systems.
This commit is contained in:
parent
b8231a8eca
commit
fa4f3c5c17
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue