Skip to content

Commit

Permalink
test: fix err assert
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Mar 5, 2025
1 parent bf04ec1 commit a059b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/files_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ func TestFilesCp_DagCborNodeFails(t *testing.T) {

err = filesCpCmd.Run(req, res, &cmdCtx)
require.Error(t, err)
require.ErrorContains(t, err, "cp: source must be a UnixFS node or raw data")
require.ErrorContains(t, err, "cp: source must be a valid UnixFS (dag-pb or raw codec)")
}

0 comments on commit a059b0b

Please sign in to comment.