Skip to content

Commit 19ca12d

Browse files
knownvalue: remove redundant cast
1 parent abb6d46 commit 19ca12d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knownvalue/int64_func.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (v int64Func) CheckValue(other any) error {
2929
return fmt.Errorf("expected json.Number to be parseable as int64 value for Int64Func check: %s", err)
3030
}
3131

32-
return v.checkFunc(int64(otherVal))
32+
return v.checkFunc(otherVal)
3333
}
3434

3535
// String returns the int64 representation of the value.

0 commit comments

Comments
 (0)