From 30ed82e7724093bb3c2015a818c28c3592134bba Mon Sep 17 00:00:00 2001 From: eregon Date: Fri, 15 Dec 2017 17:44:37 +0000 Subject: Update to ruby/spec@595645f git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/file/shared/read.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/ruby/core/file/shared') diff --git a/spec/ruby/core/file/shared/read.rb b/spec/ruby/core/file/shared/read.rb index 916a6222bf..e37523c244 100644 --- a/spec/ruby/core/file/shared/read.rb +++ b/spec/ruby/core/file/shared/read.rb @@ -1,13 +1,13 @@ require File.expand_path('../../../dir/fixtures/common', __FILE__) describe :file_read_directory, shared: true do - platform_is :darwin, :linux, :windows do + platform_is :darwin, :linux, :openbsd, :windows do it "raises an Errno::EISDIR when passed a path that is a directory" do lambda { @object.send(@method, ".") }.should raise_error(Errno::EISDIR) end end - platform_is :bsd do + platform_is :freebsd, :netbsd do it "does not raises any exception when passed a path that is a directory" do lambda { @object.send(@method, ".") }.should_not raise_error end -- cgit v1.2.3