Less verbose tests

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin
2017-12-13 20:30:31 -05:00
parent 03bc5e974d
commit 49fffe8ec7
7 changed files with 13 additions and 12 deletions

View File

@@ -87,7 +87,7 @@ func makeTest(name string, snapshotterFn func(ctx context.Context, root string)
t.Fatal(err)
}
defer testutil.DumpDir(t, tmpDir)
defer testutil.DumpDirOnFailure(t, tmpDir)
fn(ctx, t, snapshotter, work)
}
}