GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit c19a5a07 authored by tmaruyama's avatar tmaruyama

scm: git: fix test revision value of unit app test

Hash range is from 0 to 9 and a to f

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 122be6f2
......@@ -190,14 +190,14 @@ class RepositoryGitTest < ActiveSupport::TestCase
assert_equal NUM_REV - 5, @repository.changesets.count
extra_info_heads << "abcd1234efgh"
extra_info_heads << "1234abcd5678"
h = {}
h["heads"] = extra_info_heads
h1 = @repository.extra_info["heads"].dup
assert h1.index("abcd1234efgh")
assert h1.index("1234abcd5678")
assert_equal 5, h1.size
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment