aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_utils.go')
-rw-r--r--tests/test_utils.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_utils.go b/tests/test_utils.go
index bf7d1b3fbe..fc4247eba8 100644
--- a/tests/test_utils.go
+++ b/tests/test_utils.go
@@ -30,7 +30,7 @@ import (
"github.com/stretchr/testify/assert"
)
-func exitf(format string, args ...interface{}) {
+func exitf(format string, args ...any) {
fmt.Printf(format+"\n", args...)
os.Exit(1)
}
@@ -247,6 +247,6 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() {
}
// Printf takes a format and args and prints the string to os.Stdout
-func Printf(format string, args ...interface{}) {
+func Printf(format string, args ...any) {
testlogger.Printf(format, args...)
}