From 580a00aa8b36ec44fd63e9fb44140c4b62cf7219 Mon Sep 17 00:00:00 2001 From: Vladislav Valkov Date: Fri, 21 Jun 2024 22:47:41 +0400 Subject: [PATCH] fix: fix 1.19 test compatibility --- internal/refactor/inline/inline_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/refactor/inline/inline_test.go b/internal/refactor/inline/inline_test.go index 592b55bda..a64c80656 100644 --- a/internal/refactor/inline/inline_test.go +++ b/internal/refactor/inline/inline_test.go @@ -545,9 +545,9 @@ func TestDuplicable(t *testing.T) { { "Built-in function calls are not duplicable.", `func f(i int) { print(i, i) }`, - `func _() { f(max(1)) }`, + `func _() { f(len("")) }`, `func _() { - var i int = max(1) + var i int = len("") print(i, i) }`, },