2
2
mirror of https://github.com/octoleo/restic.git synced 2024-09-27 22:19:02 +00:00

Remove redundant return

This commit is contained in:
Michael Eischer 2020-03-06 23:39:35 +01:00
parent ee05501ce7
commit 068a3ce23f

View File

@ -253,7 +253,6 @@ func testRunForgetJSON(t testing.TB, gopts GlobalOptions, args ...string) {
"Expected 1 snapshot to be kept, got %v", len(forgets[0].Keep)) "Expected 1 snapshot to be kept, got %v", len(forgets[0].Keep))
rtest.Assert(t, len(forgets[0].Remove) == 2, rtest.Assert(t, len(forgets[0].Remove) == 2,
"Expected 2 snapshots to be removed, got %v", len(forgets[0].Remove)) "Expected 2 snapshots to be removed, got %v", len(forgets[0].Remove))
return
} }
func testRunPrune(t testing.TB, gopts GlobalOptions) { func testRunPrune(t testing.TB, gopts GlobalOptions) {