Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Dec 18, 2024
1 parent bd4d02b commit 2adaa7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ func TestCreateApiWithNonStruct(t *testing.T) {

_, _, err = modusdb.Create[*User](context.Background(), db1, &user)
require.Error(t, err)
require.Equal(t, "expected struct, got ptr", err.Error())
}

0 comments on commit 2adaa7e

Please sign in to comment.