Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit 2e09c4b

Browse files
committed
fix: parseIPLDErrNotFound test
1 parent 7aa0029 commit 2e09c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

errors_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ func doParseIpldNotFoundTest(t *testing.T, original error) {
2424
}
2525

2626
originalNotFound := ipld.IsNotFound(original)
27-
rebuiltNotFound := ipld.IsNotFound(original)
27+
rebuiltNotFound := ipld.IsNotFound(rebuilt)
2828
if originalNotFound != rebuiltNotFound {
29-
t.Errorf("expected Ipld.IsNotFound to be %t; got %t", originalNotFound, rebuiltNotFound)
29+
t.Errorf("for %q expected Ipld.IsNotFound to be %t; got %t", originalMsg, originalNotFound, rebuiltNotFound)
3030
}
3131
}
3232

0 commit comments

Comments
 (0)