Skip to content

Commit de96607

Browse files
committed
pend→omit test that RDoc::Parser::Ruby has a bug or does not support
1 parent 2973d9d commit de96607

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/rdoc/test_rdoc_parser_prism_ruby.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ def m5; end
10911091
end
10921092

10931093
def test_undocumentable_change_visibility
1094-
pend if accept_legacy_bug?
1094+
omit if accept_legacy_bug?
10951095
util_parser <<~RUBY
10961096
class A
10971097
def m1; end
@@ -1126,7 +1126,7 @@ class <<A
11261126
end
11271127

11281128
def test_method_visibility_change_in_subclass
1129-
pend 'not implemented' if accept_legacy_bug?
1129+
omit 'not implemented' if accept_legacy_bug?
11301130
util_parser <<~RUBY
11311131
class A
11321132
def m1; end
@@ -1237,7 +1237,7 @@ def bar; end
12371237
end
12381238

12391239
def test_invalid_alias_method
1240-
pend if accept_legacy_bug?
1240+
omit if accept_legacy_bug?
12411241
util_parser <<~RUBY
12421242
class Foo
12431243
def foo; end
@@ -1639,7 +1639,7 @@ class Bar; end
16391639
end
16401640

16411641
def test_constant_with_singleton_class
1642-
pend if accept_legacy_bug?
1642+
omit if accept_legacy_bug?
16431643
util_parser <<~RUBY
16441644
class Foo
16451645
class Bar; end
@@ -1728,7 +1728,7 @@ module M
17281728
end
17291729

17301730
def test_include_extend_to_singleton_class
1731-
pend 'not implemented' if accept_legacy_bug?
1731+
omit 'not implemented' if accept_legacy_bug?
17321732
util_parser <<~RUBY
17331733
class Foo
17341734
class << self
@@ -1777,7 +1777,7 @@ class C::D::Foo
17771777
end
17781778

17791779
def test_various_argument_include
1780-
pend 'not implemented' if accept_legacy_bug?
1780+
omit 'not implemented' if accept_legacy_bug?
17811781
util_parser <<~RUBY
17821782
module A; end
17831783
module B; end

0 commit comments

Comments
 (0)