8000 spec/ruby/core/file/shared/read.rb: The behavior of FreeBSD was changed · ruby/ruby@4ca2719 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ca2719

Browse files
committed
spec/ruby/core/file/shared/read.rb: The behavior of FreeBSD was changed
http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20210426T003001Z.fail.html.gz#rubyspec
1 parent 2b487d3 commit 4ca2719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/ruby/core/file/shared/read.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require_relative '../../dir/fixtures/common'
22

33
describe :file_read_directory, shared: true do
4-
platform_is :darwin, :linux, :openbsd, :windows do
4+
platform_is :darwin, :linux, :freebsd, :openbsd, :windows do
55
it "raises an Errno::EISDIR when passed a path that is a directory" do
66
-> { @object.send(@method, ".") }.should raise_error(Errno::EISDIR)
77
end
88
end
99

10-
platform_is :freebsd, :netbsd do
10+
platform_is :netbsd do
1111
it "does not raises any exception when passed a path that is a directory" do
1212
-> { @object.send(@method, ".") }.should_not raise_error
1313
end

0 commit comments

Comments
 (0)
0