git.iko.soy/typeable/pandoc
on master help sign in
test-pandoc-utils.lua - add diagnostic for windows test.
691f38fJohn MacFarlane
test/lua/test-pandoc-utils.lua+1
@@ -39,6 +39,7 @@ end
39function test_pipe ()
39function test_pipe ()
40 if os_is_windows() then
40 if os_is_windows() then
41 local pipe_result = pandoc.pipe('find', {'hi'}, 'hi')
41 local pipe_result = pandoc.pipe('find', {'hi'}, 'hi')
42+ print(pipe_result)
42 return pipe_result == 'hi\n' or pipe_result == 'hi'
43 return pipe_result == 'hi\n' or pipe_result == 'hi'
43 else
44 else
44 local pipe_result = pandoc.pipe('tr', {'a', 'b'}, 'abc')
45 local pipe_result = pandoc.pipe('tr', {'a', 'b'}, 'abc')