aboutsummaryrefslogtreecommitdiffstats
path: root/commands/root_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/root_test.go')
-rw-r--r--commands/root_test.go35
1 files changed, 0 insertions, 35 deletions
diff --git a/commands/root_test.go b/commands/root_test.go
deleted file mode 100644
index aaf708c8..00000000
--- a/commands/root_test.go
+++ /dev/null
@@ -1,35 +0,0 @@
-//go:build !windows
-// +build !windows
-
-package commands_test
-
-import (
- "io/ioutil"
- "path/filepath"
- "testing"
-
- "github.com/stretchr/testify/require"
-)
-
-func requireGoldenFileEqual(t *testing.T, path string, act []byte) {
- t.Helper()
-
- path = filepath.Join("testdata", path)
-
- if *update {
- require.NoError(t, ioutil.WriteFile(path, act, 0644))
- }
-
- exp, err := ioutil.ReadFile(path)
- require.NoError(t, err)
- require.Equal(t, string(exp), string(act))
-}
-
-func TestNewRootCommand(t *testing.T) {
- t.Skip()
-
- testEnv := newTestEnv(t)
- testEnv.Execute(t)
-
- requireGoldenFileEqual(t, "root_out_golden.txt", testEnv.out.Bytes())
-}