From 2c70f41e514a274e67444c0cda4ad598f489c9d7 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 23 Mar 2022 22:21:07 +0300 Subject: [PATCH] examples: move nft-nd-nns test into the same package Which is the way Go tests are normally stored. --- .../{tests/nonnative_name_service_test.go => nns_test.go} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename examples/nft-nd-nns/{tests/nonnative_name_service_test.go => nns_test.go} (99%) diff --git a/examples/nft-nd-nns/tests/nonnative_name_service_test.go b/examples/nft-nd-nns/nns_test.go similarity index 99% rename from examples/nft-nd-nns/tests/nonnative_name_service_test.go rename to examples/nft-nd-nns/nns_test.go index ecd602786..45219a0e8 100644 --- a/examples/nft-nd-nns/tests/nonnative_name_service_test.go +++ b/examples/nft-nd-nns/nns_test.go @@ -1,4 +1,4 @@ -package tests +package nns_test import ( "strings" @@ -17,7 +17,7 @@ import ( func newNSClient(t *testing.T) *neotest.ContractInvoker { bc, acc := chain.NewSingle(t) e := neotest.NewExecutor(t, bc, acc, acc) - c := neotest.CompileFile(t, e.CommitteeHash, "..", "../nns.yml") + c := neotest.CompileFile(t, e.CommitteeHash, ".", "nns.yml") e.DeployContract(t, c, nil) return e.CommitteeInvoker(c.Hash)