From 3c63a54142d2be142b78f22de1bd9ded1535ef99 Mon Sep 17 00:00:00 2001 From: Lee ByeongJun Date: Wed, 18 Dec 2024 15:49:19 +0900 Subject: [PATCH] missing import --- position/utils_test.gno | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/position/utils_test.gno b/position/utils_test.gno index b7fb94b0b..a0b605175 100644 --- a/position/utils_test.gno +++ b/position/utils_test.gno @@ -4,6 +4,7 @@ import ( "std" "testing" + "gno.land/p/demo/grc/grc721" "gno.land/p/demo/uassert" pusers "gno.land/p/demo/users" "gno.land/r/demo/users" @@ -12,9 +13,7 @@ import ( ) func TestA2u(t *testing.T) { - var ( - addr = std.Address("g1lmvrrrr4er2us84h2732sru76c9zl2nvknha8c") - ) + addr := std.Address("g1lmvrrrr4er2us84h2732sru76c9zl2nvknha8c") tests := []struct { name string @@ -37,9 +36,7 @@ func TestA2u(t *testing.T) { } func TestDerivePkgAddr(t *testing.T) { - var ( - pkgPath = "gno.land/r/gnoswap/v1/position" - ) + pkgPath := "gno.land/r/gnoswap/v1/position" tests := []struct { name string input string @@ -374,7 +371,6 @@ func TestGetNextId(t *testing.T) { } func TestTokenIdFrom(t *testing.T) { - tests := []struct { name string input interface{}