test support go1.18 (#2990)
This commit is contained in:
+1
-1
@@ -357,7 +357,7 @@ func TestUnescapeParameters(t *testing.T) {
|
||||
checkPriorities(t, tree)
|
||||
}
|
||||
|
||||
func catchPanic(testFunc func()) (recv interface{}) {
|
||||
func catchPanic(testFunc func()) (recv any) {
|
||||
defer func() {
|
||||
recv = recover()
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user