update the test to use a pointer file that specifies the size

This commit is contained in:
Rick Olson 2014-08-07 09:33:39 -06:00
parent 203a86ea3b
commit dc464ed076

@ -18,7 +18,7 @@ func TestSmudge(t *testing.T) {
// simple smudge example
cmd := repo.Command("smudge", "somefile")
cmd.Input = bytes.NewBufferString("# git-media\nSOMEOID")
cmd.Input = bytes.NewBufferString("[git-media]\nversion=http://git-media.io/v/2\noid=sha256:SOMEOID\nsize=9\n")
cmd.Output = "whatever"
cmd.Env = append(cmd.Env, "GIT_MEDIA_PROGRESS="+progressFile)