From 472fd2f328fc53b72e73ce26a81fcd8b633b6e89 Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Wed, 22 May 2024 16:00:26 +0200 Subject: [PATCH] fix: remove sort from gonative packages --- gnovm/tests/imports.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gnovm/tests/imports.go b/gnovm/tests/imports.go index d5541fb0554..6a0b9cfb689 100644 --- a/gnovm/tests/imports.go +++ b/gnovm/tests/imports.go @@ -29,7 +29,6 @@ import ( "os" "path/filepath" "reflect" - "sort" "strconv" "strings" "sync" @@ -332,11 +331,6 @@ func TestStore(rootDir, filesPath string, stdin io.Reader, stdout, stderr io.Wri pkg := gno.NewPackageNode("big", pkgPath, nil) pkg.DefineGoNativeValue("NewInt", big.NewInt) return pkg, pkg.NewPackage() - case "sort": - pkg := gno.NewPackageNode("sort", pkgPath, nil) - pkg.DefineGoNativeValue("Strings", sort.Strings) - // pkg.DefineGoNativeValue("Sort", sort.Sort) - return pkg, pkg.NewPackage() case "flag": pkg := gno.NewPackageNode("flag", pkgPath, nil) pkg.DefineGoNativeType(reflect.TypeOf(flag.Flag{}))