提交 5d879d6c 编写于 作者: C Chris Wanstrath

passing tests on different git versions

上级 2390eb20
......@@ -85,7 +85,9 @@ class HubTest < Test::Unit::TestCase
end
def test_version
assert_equal "git version 1.6.4.2\nhub version 0.1.0\n", hub('--version')
out = hub('--version')
assert_includes "git version 1.6", out
assert_includes "hub version 0.1.0", out
end
def test_help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册