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

ruby-changes:54896

From: nobu <ko1@a...>
Date: Wed, 20 Feb 2019 17:09:38 +0900 (JST)
Subject: [ruby-changes:54896] nobu:r67101 (trunk): Revise the example on OpenBSD

nobu	2019-02-20 17:09:32 +0900 (Wed, 20 Feb 2019)

  New Revision: 67101

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67101

  Log:
    Revise the example on OpenBSD

  Modified files:
    trunk/spec/ruby/core/file/birthtime_spec.rb
Index: spec/ruby/core/file/birthtime_spec.rb
===================================================================
--- spec/ruby/core/file/birthtime_spec.rb	(revision 67100)
+++ spec/ruby/core/file/birthtime_spec.rb	(revision 67101)
@@ -24,12 +24,13 @@ describe "File.birthtime" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/file/birthtime_spec.rb#L24
     end
   end
 
-  # TODO: fix it.
-  #platform_is :linux, :openbsd do
-  #  it "raises an NotImplementedError" do
-  #    lambda { File.birthtime(@file) }.should raise_error(NotImplementedError)
-  #  end
-  #end
+  platform_is :openbsd do
+    it "raises an NotImplementedError" do
+      lambda { File.birthtime(@file) }.should raise_error(NotImplementedError)
+    end
+  end
+
+  # TODO: depends on Linux kernel version
 end
 
 describe "File#birthtime" do

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

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