summaryrefslogtreecommitdiffstats
path: root/client/go/internal/cli/cmd/man_test.go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-11-29 11:05:57 +0100
committerMartin Polden <mpolden@mpolden.no>2023-11-29 16:12:02 +0100
commit7357f331d12532f3f039804c9a5c136bec604698 (patch)
treea5e3c36b04c8529757961936bc8945d45ca6f399 /client/go/internal/cli/cmd/man_test.go
parent8a37c49b869d4bf5e4ee0239c512200dc9663ecd (diff)
Extract ioutil package
Diffstat (limited to 'client/go/internal/cli/cmd/man_test.go')
-rw-r--r--client/go/internal/cli/cmd/man_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/go/internal/cli/cmd/man_test.go b/client/go/internal/cli/cmd/man_test.go
index ad05efcb2a3..ae434624ac7 100644
--- a/client/go/internal/cli/cmd/man_test.go
+++ b/client/go/internal/cli/cmd/man_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
- "github.com/vespa-engine/vespa/client/go/internal/util"
+ "github.com/vespa-engine/vespa/client/go/internal/ioutil"
)
func TestMan(t *testing.T) {
@@ -15,5 +15,5 @@ func TestMan(t *testing.T) {
cli, stdout, _ := newTestCLI(t)
assert.Nil(t, cli.Run("man", tmpDir))
assert.Equal(t, fmt.Sprintf("Success: Man pages written to %s\n", tmpDir), stdout.String())
- assert.True(t, util.PathExists(filepath.Join(tmpDir, "vespa.1")))
+ assert.True(t, ioutil.Exists(filepath.Join(tmpDir, "vespa.1")))
}