[前][次][番号順一覧][スレッド一覧]

ruby-changes:65961

From: Yusuke <ko1@a...>
Date: Mon, 26 Apr 2021 11:22:16 +0900 (JST)
Subject: [ruby-changes:65961] 4ca271909d (master): spec/ruby/core/file/shared/read.rb: The behavior of FreeBSD was changed

https://git.ruby-lang.org/ruby.git/commit/?id=4ca271909d

From 4ca271909d51a692a97363f41d2372a108ef771a Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 26 Apr 2021 11:21:15 +0900
Subject: 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
---
 spec/ruby/core/file/shared/read.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/ruby/core/file/shared/read.rb b/spec/ruby/core/file/shared/read.rb
index a2d4799..f232235 100644
--- a/spec/ruby/core/file/shared/read.rb
+++ b/spec/ruby/core/file/shared/read.rb
@@ -1,13 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/file/shared/read.rb#L1
 require_relative '../../dir/fixtures/common'
 
 describe :file_read_directory, shared: true do
-  platform_is :darwin, :linux, :openbsd, :windows do
+  platform_is :darwin, :linux, :freebsd, :openbsd, :windows do
     it "raises an Errno::EISDIR when passed a path that is a directory" do
       -> { @object.send(@method, ".") }.should raise_error(Errno::EISDIR)
     end
   end
 
-  platform_is :freebsd, :netbsd do
+  platform_is :netbsd do
     it "does not raises any exception when passed a path that is a directory" do
       -> { @object.send(@method, ".") }.should_not raise_error
     end
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]