Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Jul 20, 2022
1 parent ddfa5a1 commit 291d5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/dag/dag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestDAGGet(t *testing.T) {
someCid := testhelpers.CidFromString(t, "somecid")

_, err := dag.GetNode(ctx, someCid.String())
assert.EqualError(t, err, "merkledag: not found")
assert.True(t, format.IsNotFound(err))
})

t.Run("matching IPLD node is emitted", func(t *testing.T) {
Expand Down

0 comments on commit 291d5c3

Please sign in to comment.