diff --git a/tests/cli/cli.test b/tests/cli/cli.test index 14ba31edf..babbc6e73 100644 --- a/tests/cli/cli.test +++ b/tests/cli/cli.test @@ -75,19 +75,19 @@ hledger balance --version # 3. with no command, show commands list hledger ->>> /^hledger.*commands available/ +>>> /^Commands/ >>>2 >>>=0 # 4. no-command help still works if there are flags, at least the common ones hledger -fsomefile ->>> /^hledger.*commands available/ +>>> /^Commands/ >>>2 >>>=0 # 5. and also with a space between flag and value hledger -f somefile ->>> /^hledger.*commands available/ +>>> /^Commands/ >>>2 >>>=0