From 95b7674a0cc66edcc8bdf47ee9eb0fa1015fcadd Mon Sep 17 00:00:00 2001 From: yugui Date: Sun, 28 Dec 2008 09:43:21 +0000 Subject: * test/rubygems/test_gem_command.rb (test_add_option_overlapping_common_and_local_options): follows r21066. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ test/rubygems/test_gem_command.rb | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5ba5ecfb6..075091d83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Dec 28 18:36:33 2008 Yuki Sonoda (Yugui) + + * test/rubygems/test_gem_command.rb + (test_add_option_overlapping_common_and_local_options): + follows r21066. + Sun Dec 28 17:21:36 2008 NARUSE, Yui * test/rubygems/test_ext_configure_builder.rb (test_self_build_fail): diff --git a/test/rubygems/test_gem_command.rb b/test/rubygems/test_gem_command.rb index 08da9fb7d..ff63804a4 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 -- cgit