Skip to content

Commit

Permalink
PR: Remove require.IsType(...) as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Feb 21, 2025
1 parent 519eeea commit afe68e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/integration/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ func (ucid *UniqueCid) Validate(s *state, actualValue any, msgAndArgs ...any) {
}

if isNew {
require.IsType(s.t, "", actualValue)
value, ok := actualValue.(string)
if !ok {
require.Fail(s.t, "UniqueCid actualValue string cast failed")
Expand Down

0 comments on commit afe68e0

Please sign in to comment.