test-pandoc-utils.lua - add diagnostic for windows test.

This commit is contained in:
John MacFarlane 2018-05-08 22:08:23 -07:00
parent 9f2af30c06
commit 691f38f3d6

View file

@ -39,6 +39,7 @@ end
function test_pipe ()
if os_is_windows() then
local pipe_result = pandoc.pipe('find', {'hi'}, 'hi')
print(pipe_result)
return pipe_result == 'hi\n' or pipe_result == 'hi'
else
local pipe_result = pandoc.pipe('tr', {'a', 'b'}, 'abc')