Skip to content

Commit a67b8bc

Browse files
committed
Skip a test on JRuby
The test_accept_verbatim_nl_after_backslash is failed on JRuby because Ripper on JRuby fails to lexical analyse around escaped newline. I filed a issue for it: jruby/jruby#4787 The "skip" should be removed after the issue is resolved.
1 parent 35e8113 commit a67b8bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_rdoc_markup_to_html.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,9 @@ def test_accept_verbatim_parseable_error
452452
end
453453

454454
def test_accept_verbatim_nl_after_backslash
455+
# TODO: Remove "skip" after the issue is resolved: https://github.com/jruby/jruby/issues/4787
456+
# This "skip" is for strange behavior around escaped newline on JRuby
457+
skip if defined? JRUBY_VERSION
455458
verb = @RM::Verbatim.new("a = 1 if first_flag_var and \\\n", " this_is_flag_var\n")
456459

457460
@to.start_accepting

0 commit comments

Comments
 (0)