Skip to content

Commit 3aae73f

Browse files
committed
Fixed old compile error.
1 parent 7215bcf commit 3aae73f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/use_int_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ func (suite *UseIntegrationTestSuite) TestReset() {
126126

127127
cfg, err := config.New()
128128
suite.NoError(err)
129+
rcfile, err := subshell.New(cfg).RcFile()
130+
suite.NoError(err)
129131
if runtime.GOOS != "windows" {
130-
rcfile, err := subshell.New(cfg).RcFile()
131132
fileutils.FileExists(rcfile)
132-
suite.NoError(err)
133133
suite.Contains(string(fileutils.ReadFileUnsafe(rcfile)), ts.Dirs.DefaultBin, "PATH does not have your project in it")
134134
}
135135

0 commit comments

Comments
 (0)