summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-29 06:18:14 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-29 06:18:14 +0000
commit7be399c567c0e2ba746b63c8bbabc13e6dcb14af (patch)
treec79c0b1ca58a42bfc04c81e822de2cc96b8928cc /test
parent69b2c8cc4445cf0774247f7578a91a9e6a40ace2 (diff)
merges r21134 from ruby_1_9_1 into trunk.
* test/rubygems/test_gem_command.rb (test_add_option_overlapping_common_and_local_options): follows r21066. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_command.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_command.rb b/test/rubygems/test_gem_command.rb
index 08da9fb7d6..ff63804a4a 100644
--- a/test/rubygems/test_gem_command.rb
+++ b/test/rubygems/test_gem_command.rb
@@ -60,9 +60,9 @@ class TestGemCommand < RubyGemTestCase
@cmd.add_option('-z', '--exe', 'BAD!') do end
@cmd.add_option('-x', '--exe', 'BAD!') do end
- assert_match %r|-x, --zip|, @cmd.parser.to_s
- assert_match %r|-z, --exe|, @cmd.parser.to_s
- refute_match %r|-x, --exe|, @cmd.parser.to_s
+ assert_match %r|-x, --exe|, @cmd.parser.to_s
+ refute_match %r|-z, --exe|, @cmd.parser.to_s
+ refute_match %r|-x, --zip|, @cmd.parser.to_s
end
def test_basic_accessors