Skip to content

Commit 118a8a1

Browse files
committed
fixup! fix(cli): clistat: accept positional arg for stat disk cmd
1 parent ea3b735 commit 118a8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/stat_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,6 @@ func TestStatDiskCmd(t *testing.T) {
180180
inv.Stdout = buf
181181
err := inv.WithContext(ctx).Run()
182182
require.Error(t, err)
183-
require.Contains(t, err.Error(), "no such file or directory")
183+
require.Contains(t, err.Error(), `not found: "/this/path/does/not/exist"`)
184184
})
185185
}

0 commit comments

Comments
 (0)