aboutsummaryrefslogtreecommitdiff
path: root/object/commit/roundtrip_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/commit/roundtrip_test.go')
-rw-r--r--object/commit/roundtrip_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/object/commit/roundtrip_test.go b/object/commit/roundtrip_test.go
index 2987f639..9c51027c 100644
--- a/object/commit/roundtrip_test.go
+++ b/object/commit/roundtrip_test.go
@@ -104,10 +104,11 @@ func TestRoundTrip(t *testing.T) {
t.Fatalf("HashObject(commit): %v", err)
}
- if err := repo.Fsck(t, testgit.FsckOptions{
+ err = repo.Fsck(t, testgit.FsckOptions{
Strict: true,
NoDangling: true,
- }, roundTripID); err != nil {
+ }, roundTripID)
+ if err != nil {
t.Fatalf("Fsck: %v", err)
}