diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-01-24 16:31:20 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-01-24 16:31:20 +0100 |
commit | 6c2b1c1159463b07bb8a2ef5e2e820a4b93b63b0 (patch) | |
tree | 02f83af4f1c4b4046128af4535f4faeee0aa61b6 /test/tc_highline.rb | |
parent | fd87246f505080894ca7e64f366cd4a2cbeeac18 (diff) | |
download | highline-6c2b1c1159463b07bb8a2ef5e2e820a4b93b63b0.tar.gz |
Fix version tests for multi-digit components.
Diffstat (limited to 'test/tc_highline.rb')
-rwxr-xr-x | test/tc_highline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tc_highline.rb b/test/tc_highline.rb index 5cb43a7..2e758b9 100755 --- a/test/tc_highline.rb +++ b/test/tc_highline.rb @@ -957,6 +957,6 @@ class TestHighLine < Test::Unit::TestCase assert_not_nil(HighLine::VERSION) assert_instance_of(String, HighLine::VERSION) assert(HighLine::VERSION.frozen?) - assert_match(/\A\d\.\d\.\d\Z/, HighLine::VERSION) + assert_match(/\A\d+\.\d+\.\d+\Z/, HighLine::VERSION) end end |