summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_lock_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_lock_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_lock_command.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_lock_command.rb b/test/rubygems/test_gem_commands_lock_command.rb
index 089fed6e9a..e5d8dbe7b0 100644
--- a/test/rubygems/test_gem_commands_lock_command.rb
+++ b/test/rubygems/test_gem_commands_lock_command.rb
@@ -1,4 +1,3 @@
-require 'test/unit'
require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities')
require 'rubygems/commands/lock_command'
@@ -56,7 +55,7 @@ gem 'd', '= 1'
def test_execute_strict
@cmd.handle_options %w[c-1 --strict]
- e = assert_raise Gem::Exception do
+ e = assert_raises Gem::Exception do
use_ui @ui do
@cmd.execute
end