Skip to content

Commit

Permalink
Revert "Use RUBY_VERSION string for 1.9 check."
Browse files Browse the repository at this point in the history
This reverts commit 5b484c0.
  • Loading branch information
timcharper committed Sep 29, 2011
1 parent 15261ac commit 6eddc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/testdrb
Expand Up @@ -2,7 +2,7 @@

# These fix 1.8.7 test/unit results where a DRbUnknown is returned because the testdrb client doesn't have the classes
# in its local namespace. (See issue #2)
unless RUBY_VERSION =~ /^1\.9/
unless defined? MiniTest
# MiniTest is Ruby 1.9, and the classes below only exist in the pre 1.9 test/unit
require 'test/unit/testresult'
require 'test/unit/failure'
Expand Down

0 comments on commit 6eddc0d

Please sign in to comment.