Fix content copy to not ignore unexpected EOF
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -65,10 +65,11 @@ func TestCopy(t *testing.T) {
|
||||
},
|
||||
{
|
||||
name: "commit already exists",
|
||||
source: defaultSource,
|
||||
source: newCopySource("this already exists"),
|
||||
writer: fakeWriter{commitFunc: func() error {
|
||||
return errdefs.ErrAlreadyExists
|
||||
}},
|
||||
expected: "this already exists",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user