From e9ec00723802229ea65f7f4f359ae8ba83ad3be6 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 25 Sep 2026 06:32:27 +0900 Subject: [PATCH] Remove unsupported platforms from the fileutils test platform checks Ruby 1.9.1 dropped Windows CE, and Ruby 2.3 dropped OS/2 (emx) and Borland C. Co-Authored-By: Claude Opus 5.5 --- test/fileutils/test_fileutils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index dd2ba5d..1a93c01 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -34,11 +34,11 @@ def assert_output_lines(expected, fu = self, message=nil) m = Module.new do def have_drive_letter? - /mswin(?!ce)|mingw|bcc|emx/ =~ RUBY_PLATFORM + /mswin|mingw/ =~ RUBY_PLATFORM end def have_file_perm? - /mswin|mingw|bcc|emx/ !~ RUBY_PLATFORM + /mswin|mingw/ !~ RUBY_PLATFORM end @@assignable_groups = nil