From 57d704fd6369df36797a2b840ec1c6f8cacbdbec Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 10 May 2021 18:38:01 +0900 Subject: [PATCH] Removed needless platform detection --- test/lib/helper.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/lib/helper.rb b/test/lib/helper.rb index 88a26310..909f8f98 100644 --- a/test/lib/helper.rb +++ b/test/lib/helper.rb @@ -2,13 +2,3 @@ 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