Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
If our test fails in setup, we get 2x the errors because of this. :(
  • Loading branch information
zenspider committed Jun 7, 2011
1 parent 0639779 commit 3ce68a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/test_case.rb
Expand Up @@ -217,7 +217,7 @@ def setup
# tempdir unless the +KEEP_FILES+ environment variable was set.

def teardown
$LOAD_PATH.replace @orig_LOAD_PATH
$LOAD_PATH.replace @orig_LOAD_PATH if @orig_LOAD_PATH

Gem::ConfigMap[:BASERUBY] = @orig_BASERUBY
Gem::ConfigMap[:arch] = @orig_arch
Expand Down

0 comments on commit 3ce68a6

Please sign in to comment.