Skip to content

Commit

Permalink
Fix tests for UnmarshalRaw
Browse files Browse the repository at this point in the history
  • Loading branch information
AAA1exa8 committed May 25, 2024
1 parent e629245 commit ace8cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func (s *SurrealDBTestSuite) TestUnmarshalRaw() {
})
s.Require().NoError(err)

var userSlice []marshal.RawQuery[testUser]
var userSlice []marshal.RawQuery[[]testUser]
err = marshal.UnmarshalRaw(userData, &userSlice)
s.Require().NoError(err)
s.Len(userSlice, 1)
Expand Down

0 comments on commit ace8cf4

Please sign in to comment.