diff options
Diffstat (limited to 'container/initplace_test.go')
| -rw-r--r-- | container/initplace_test.go | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/container/initplace_test.go b/container/initplace_test.go index a330a804..03f298b6 100644 --- a/container/initplace_test.go +++ b/container/initplace_test.go @@ -82,18 +82,8 @@ func TestTmpfileOp(t *testing.T) { }) checkOpsBuilder(t, []opsBuilderTestCase{ - {"noref", new(Ops).Place(samplePath, sampleData), Ops{ - &TmpfileOp{ - Path: samplePath, - Data: sampleData, - }, - }}, - - {"ref", new(Ops).PlaceP(samplePath, new(*[]byte)), Ops{ - &TmpfileOp{ - Path: samplePath, - Data: []byte{}, - }, + {"full", new(Ops).Place(samplePath, sampleData), Ops{ + &TmpfileOp{Path: samplePath, Data: sampleData}, }}, }) |
