update the test to use a pointer file that specifies the size
This commit is contained in:
parent
203a86ea3b
commit
dc464ed076
@ -18,7 +18,7 @@ func TestSmudge(t *testing.T) {
|
|||||||
|
|
||||||
// simple smudge example
|
// simple smudge example
|
||||||
cmd := repo.Command("smudge", "somefile")
|
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.Output = "whatever"
|
||||||
cmd.Env = append(cmd.Env, "GIT_MEDIA_PROGRESS="+progressFile)
|
cmd.Env = append(cmd.Env, "GIT_MEDIA_PROGRESS="+progressFile)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user