[Tests] Handle the new versioning scheme in the unit tests.

This commit is contained in:
Chris Eppstein 2010-06-01 08:31:19 -07:00
parent 05c53379f9
commit 8f97eb0460

View File

@ -15,7 +15,7 @@ class CommandLineTest < Test::Unit::TestCase
def test_print_version def test_print_version
compass "-vq" compass "-vq"
assert_match /\d+\.\d+\.\d+( [0-9a-f]+)?/, @last_result assert_match /\d+\.\d+\.(\d+|((alpha|beta|rc)\.\d+\.[0-9a-f]+))?/, @last_result
end end
def test_basic_install def test_basic_install