Skip to content

Commit

Permalink
pend→omit test that RDoc::Parser::Ruby has a bug or does not support
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng committed Feb 2, 2025
1 parent 2973d9d commit de96607
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/rdoc/test_rdoc_parser_prism_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ def m5; end
end

def test_undocumentable_change_visibility
pend if accept_legacy_bug?
omit if accept_legacy_bug?
util_parser <<~RUBY
class A
def m1; end
Expand Down Expand Up @@ -1126,7 +1126,7 @@ class <<A
end

def test_method_visibility_change_in_subclass
pend 'not implemented' if accept_legacy_bug?
omit 'not implemented' if accept_legacy_bug?
util_parser <<~RUBY
class A
def m1; end
Expand Down Expand Up @@ -1237,7 +1237,7 @@ def bar; end
end

def test_invalid_alias_method
pend if accept_legacy_bug?
omit if accept_legacy_bug?
util_parser <<~RUBY
class Foo
def foo; end
Expand Down Expand Up @@ -1639,7 +1639,7 @@ class Bar; end
end

def test_constant_with_singleton_class
pend if accept_legacy_bug?
omit if accept_legacy_bug?
util_parser <<~RUBY
class Foo
class Bar; end
Expand Down Expand Up @@ -1728,7 +1728,7 @@ module M
end

def test_include_extend_to_singleton_class
pend 'not implemented' if accept_legacy_bug?
omit 'not implemented' if accept_legacy_bug?
util_parser <<~RUBY
class Foo
class << self
Expand Down Expand Up @@ -1777,7 +1777,7 @@ class C::D::Foo
end

def test_various_argument_include
pend 'not implemented' if accept_legacy_bug?
omit 'not implemented' if accept_legacy_bug?
util_parser <<~RUBY
module A; end
module B; end
Expand Down

0 comments on commit de96607

Please sign in to comment.