diff options
Diffstat (limited to 'test/lib/helper.rb')
-rw-r--r-- | test/lib/helper.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/lib/helper.rb b/test/lib/helper.rb new file mode 100644 index 0000000..88a2631 --- /dev/null +++ b/test/lib/helper.rb @@ -0,0 +1,14 @@ +require "test/unit" +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 |