Change the diskpacked reindex test data, fix hash

And try to underscore that the last byte is an LF, which must be kept
and accounted for.

Andy Song raised my attention to this ambiguity.

Change-Id: Ia352980350e44b57f47394841f643a737b91dda7
This commit is contained in:
Tamás Gulácsi 2016-01-08 15:00:01 +01:00
parent 630ed571ee
commit 14d074d3d2
2 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func TestWalkPack(t *testing.T) {
{0, "sha1-f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0", 49, 5},
{0, "sha1-70c07ec18ef89c5309bbb0937f3a6342411e1fdd", 103, 5},
{0, "<invalid-blob.Ref>", 157, 7},
{0, "sha1-70c07ec18ef89c5309bbb0937f3a6342411e1fdd", 213, 6},
{0, "sha1-4c9c38b87dbe92d701cc0ca889fffb10bb1039b9", 214, 26},
{1, "sha1-fe05bcdcdc4928012781a5f1a2a77cbb5398e106", 49, 3},
{1, "sha1-ad782ecdac770fc6eb9a62e44f90873fb97fb26b", 101, 3},
{1, "sha1-b802f384302cb24fbab0a44997e820bf2e8507bb", 153, 5},