Skip to content

Commit 87537c8

Browse files
committed
Skip test cases of developing methods for Pathname
1 parent 90eb909 commit 87537c8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/stdlib/Pathname_test.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def test_pwd
2828
end
2929

3030
def test_initialize
31+
omit "Pathname is developing in head" if RUBY_VERSION >= '3.5'
32+
3133
assert_send_type '(String) -> Pathname',
3234
Pathname, :new, 'foo'
3335
assert_send_type '(ToStr) -> Pathname',
@@ -43,6 +45,8 @@ class PathnameInstanceTest < Test::Unit::TestCase
4345
testing '::Pathname'
4446

4547
def test_plus
48+
omit "Pathname is developing in head" if RUBY_VERSION >= '3.5'
49+
4650
assert_send_type '(Pathname) -> Pathname',
4751
Pathname('foo'), :+, Pathname('bar')
4852
assert_send_type '(String) -> Pathname',
@@ -52,6 +56,8 @@ def test_plus
5256
end
5357

5458
def test_slash
59+
omit "Pathname is developing in head" if RUBY_VERSION >= '3.5'
60+
5561
assert_send_type '(Pathname) -> Pathname',
5662
Pathname('foo'), :/, Pathname('bar')
5763
assert_send_type '(String) -> Pathname',
@@ -380,6 +386,8 @@ def test_inspect
380386
end
381387

382388
def test_join
389+
omit "Pathname is developing in head" if RUBY_VERSION >= '3.5'
390+
383391
assert_send_type '() -> Pathname',
384392
Pathname('.'), :join
385393
assert_send_type '(String) -> Pathname',
@@ -602,6 +610,8 @@ def test_relative?
602610
end
603611

604612
def test_relative_path_from
613+
omit "Pathname is developing in head" if RUBY_VERSION >= '3.5'
614+
605615
assert_send_type '(Pathname) -> Pathname',
606616
Pathname('.'), :relative_path_from, Pathname('.')
607617
assert_send_type '(String) -> Pathname',
@@ -824,6 +834,8 @@ class PathnameKernelTest < Test::Unit::TestCase
824834
testing '::Kernel'
825835

826836
def test_Pathname
837+
omit "Pathname is developing in head" if RUBY_VERSION >= '3.5'
838+
827839
with_string("Gemfile") do
828840
assert_send_type(
829841
"(::string) -> ::Pathname",

0 commit comments

Comments
 (0)