diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 07:07:59 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 07:07:59 +0000 |
commit | e7dd0b22f1d054786c2f7f44dbf7dc737fae2fe7 (patch) | |
tree | 99e6cc27d0d6170a31c969276d35d938e638dd55 /test/ruby/test_rubyoptions.rb | |
parent | 0e9e1351166fa28ddbab1831b8bb9a7f091066f6 (diff) | |
download | ruby-e7dd0b22f1d054786c2f7f44dbf7dc737fae2fe7.tar.gz ruby-e7dd0b22f1d054786c2f7f44dbf7dc737fae2fe7.tar.xz ruby-e7dd0b22f1d054786c2f7f44dbf7dc737fae2fe7.zip |
* version.h: bump up to 1.9.2 patchlevel -1.
yugui recommend "-1" strongly.
* lib/rubygems/version.rb: accept negative patchlevel.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index a540c70ac..bc47033a0 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -60,7 +60,7 @@ class TestRubyOptions < Test::Unit::TestCase def test_verbose assert_in_out_err(%w(-vve) + [""]) do |r, e| - assert_match(/^ruby #{RUBY_VERSION}[p ].*? \[#{RUBY_PLATFORM}\]$/, r.join) + assert_match(/^ruby #{RUBY_VERSION}(?:[p ]|dev).*? \[#{RUBY_PLATFORM}\]$/, r.join) assert_equal RUBY_DESCRIPTION, r.join.chomp assert_equal([], e) end @@ -106,7 +106,7 @@ class TestRubyOptions < Test::Unit::TestCase def test_version assert_in_out_err(%w(--version)) do |r, e| - assert_match(/^ruby #{RUBY_VERSION}[p ].*? \[#{RUBY_PLATFORM}\]$/, r.join) + assert_match(/^ruby #{RUBY_VERSION}(?:[p ]|dev).*? \[#{RUBY_PLATFORM}\]$/, r.join) assert_equal RUBY_DESCRIPTION, r.join.chomp assert_equal([], e) end |