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

ruby-changes:66217

From: Hiroshi <ko1@a...>
Date: Mon, 17 May 2021 11:21:06 +0900 (JST)
Subject: [ruby-changes:66217] bcaa6aecea (master): [ruby/psych] Removed needless platform detection

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

From bcaa6aeceadd34eb6a0de1d55bf17ecb153a7916 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Mon, 10 May 2021 18:38:01 +0900
Subject: [ruby/psych] Removed needless platform detection

https://github.com/ruby/psych/commit/57d704fd63
---
 test/lib/helper.rb | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/test/lib/helper.rb b/test/lib/helper.rb
index 88a2631..909f8f9 100644
--- a/test/lib/helper.rb
+++ b/test/lib/helper.rb
@@ -2,13 +2,3 @@ require "test/unit" https://github.com/ruby/ruby/blob/trunk/test/lib/helper.rb#L2
 require_relative "core_assertions"
 
 Test::Unit::TestCase.include Test::Unit::CoreAssertions
-
-module Test
-  module Unit
-    class TestCase
-      def windows? platform = RUBY_PLATFORM
-        /mswin|mingw/ =~ platform
-      end
-    end
-  end
-end
-- 
cgit v1.1


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

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