Skip to content

Commit 66bc47b

Browse files
committed
test: fix main command test
1 parent 1efe268 commit 66bc47b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func TestRootCmd_HasSubcommands(t *testing.T) {
2626
"ls",
2727
"journald-reader",
2828
"version",
29+
"man",
2930
}
3031
for _, name := range expected {
3132
assert.Contains(t, subNames, name)
@@ -38,7 +39,7 @@ func TestRootCmd_HelpOutput(t *testing.T) {
3839
rootCmd.SetArgs([]string{})
3940
_ = rootCmd.Execute()
4041
out := buf.String()
41-
assert.Contains(t, out, "Manage rclone mounts")
42+
assert.Contains(t, out, "adfinis-rclone-mgr is a command line tool to manage rclone mounts for Google Drive")
4243
assert.Contains(t, out, "Usage:")
4344
assert.Contains(t, out, "Available Commands:")
4445
}

0 commit comments

Comments
 (0)