Skip to content

Commit

Permalink
Revert "feat: add p/nestedpkg (#2342)"
Browse files Browse the repository at this point in the history
This reverts commit 77ceda4.
  • Loading branch information
zivkovicmilos committed Jul 6, 2024
1 parent a825344 commit fbdef6f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 179 deletions.
3 changes: 0 additions & 3 deletions examples/gno.land/p/demo/nestedpkg/gno.mod
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
module gno.land/p/demo/nestedpkg

require gno.land/r/demo/tests v0.0.0-latest
84 changes: 0 additions & 84 deletions examples/gno.land/p/demo/nestedpkg/nestedpkg.gno

This file was deleted.

75 changes: 0 additions & 75 deletions examples/gno.land/p/demo/nestedpkg/nestedpkg_test.gno

This file was deleted.

5 changes: 1 addition & 4 deletions examples/gno.land/r/demo/tests/gno.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
module gno.land/r/demo/tests

require (
gno.land/p/demo/nestedpkg v0.0.0-latest
gno.land/r/demo/tests/subtests v0.0.0-latest
)
require gno.land/r/demo/tests/subtests v0.0.0-latest
13 changes: 0 additions & 13 deletions examples/gno.land/r/demo/tests/tests.gno
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package tests
import (
"std"

"gno.land/p/demo/nestedpkg"
rsubtests "gno.land/r/demo/tests/subtests"
)

Expand Down Expand Up @@ -100,15 +99,3 @@ func GetRSubtestsPrevRealm() std.Realm {
func Exec(fn func()) {
fn()
}

func IsCallerSubPath() bool {
return nestedpkg.IsCallerSubPath()
}

func IsCallerParentPath() bool {
return nestedpkg.IsCallerParentPath()
}

func HasCallerSameNamespace() bool {
return nestedpkg.IsSameNamespace()
}

0 comments on commit fbdef6f

Please sign in to comment.