[Tests] Handle the new versioning scheme in the unit tests.
This commit is contained in:
parent
05c53379f9
commit
8f97eb0460
@ -15,7 +15,7 @@ class CommandLineTest < Test::Unit::TestCase
|
||||
|
||||
def test_print_version
|
||||
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
|
||||
|
||||
def test_basic_install
|
||||
|
Loading…
Reference in New Issue
Block a user