Skip to content

Commit

Permalink
fix(test): correct assertion message
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisHchen committed Jul 30, 2024
1 parent f95879b commit 57957c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func TestOpenFails(t *testing.T) {

for _, tt := range tests {
_, cleanup, err := Open(tt.paths...)
require.Nil(t, cleanup, "Cleanup function should never be nil")
require.Nil(t, cleanup, "Cleanup function should be nil")
assert.Error(t, err, "Open with invalid URL should fail.")
}
}
Expand Down

0 comments on commit 57957c1

Please sign in to comment.