summaryrefslogtreecommitdiff
path: root/cmd/goal/commands_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/goal/commands_test.go')
-rw-r--r--cmd/goal/commands_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/goal/commands_test.go b/cmd/goal/commands_test.go
index e99760592..26a621ea2 100644
--- a/cmd/goal/commands_test.go
+++ b/cmd/goal/commands_test.go
@@ -20,10 +20,12 @@ import (
"os"
"testing"
+ "github.com/algorand/go-algorand/test/partitiontest"
"github.com/stretchr/testify/require"
)
func TestEnsureDataDirReturnsWhenDataDirIsProvided(t *testing.T) {
+ partitiontest.PartitionTest(t)
expectedDir := "~/.algorand"
os.Setenv("ALGORAND_DATA", expectedDir)
actualDir := ensureFirstDataDir()