Skip to content

Commit

Permalink
test modification
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Navarro Perez <[email protected]>
  • Loading branch information
ajnavarro committed Sep 18, 2023
1 parent 062db38 commit c781cdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gnovm/pkg/doc/dirs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func tNewDirs(t *testing.T) (string, *bfsDirs) {
// dependency lookup by dirs.
old, ex := os.LookupEnv("GNO_HOME")
os.Setenv("GNO_HOME", wdJoin(t, "testdata/dirsdep"))

t.Cleanup(func() {
if ex {
os.Setenv("GNO_HOME", old)
Expand Down

0 comments on commit c781cdb

Please sign in to comment.