summaryrefslogtreecommitdiff
path: root/test/invoker_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-10-26 23:43:18 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-10-26 23:43:18 -0600
commite5bdcd83a10a4e96536d28958963760f733fa514 (patch)
tree781334222fd12892bae6467020ea7681b2eda6f3 /test/invoker_test.rb
parenta630b316592673b4850587631966b7638c992fa8 (diff)
exclude invoker test that asserts on stderr from running on JRuby 9.1 for Windows
Diffstat (limited to 'test/invoker_test.rb')
-rw-r--r--test/invoker_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/invoker_test.rb b/test/invoker_test.rb
index 5068ede4..ca8723d4 100644
--- a/test/invoker_test.rb
+++ b/test/invoker_test.rb
@@ -256,7 +256,7 @@ context 'Invoker' do
end
end
- test 'should show backtrace when --trace option is specified and program raises error' do
+ test 'should show backtrace when --trace option is specified and program raises error' unless: jruby_9_1_windows? do
result = run_command(asciidoctor_cmd, '-r', 'no-such-module', '--trace', (fixture_path 'basic.adoc')) {|out| out.read }
if jruby?
assert_match(/LoadError: no such file to load -- no-such-module\n *require at /, result)