aboutsummaryrefslogtreecommitdiff
path: root/callback_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'callback_test.go')
-rw-r--r--callback_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/callback_test.go b/callback_test.go
index b09122a..c75b0ff 100644
--- a/callback_test.go
+++ b/callback_test.go
@@ -53,7 +53,7 @@ func TestCallbackArgCast(t *testing.T) {
func TestCallbackConverters(t *testing.T) {
tests := []struct {
- v interface{}
+ v any
err bool
}{
// Unfortunately, we can't tell which converter was returned,
@@ -104,7 +104,7 @@ func TestCallbackConverters(t *testing.T) {
}
func TestCallbackReturnAny(t *testing.T) {
- udf := func() interface{} {
+ udf := func() any {
return 1
}