summaryrefslogtreecommitdiff
path: root/test/tc_highline.rb
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-01-24 16:31:20 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-01-24 16:31:20 +0100
commit6c2b1c1159463b07bb8a2ef5e2e820a4b93b63b0 (patch)
tree02f83af4f1c4b4046128af4535f4faeee0aa61b6 /test/tc_highline.rb
parentfd87246f505080894ca7e64f366cd4a2cbeeac18 (diff)
downloadhighline-6c2b1c1159463b07bb8a2ef5e2e820a4b93b63b0.tar.gz
Fix version tests for multi-digit components.
Diffstat (limited to 'test/tc_highline.rb')
-rwxr-xr-xtest/tc_highline.rb2
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