From 80fefe9c434b976494cd582cb24fe1805a3e460a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 14 Sep 2017 06:14:26 -0700 Subject: [PATCH] cli: fix functional tests --- tests/cli/cli.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cli/cli.test b/tests/cli/cli.test index a4d855dcc..8ca0b4a29 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 ->>> /^Commands available/ +>>> /^hledger.*commands available/ >>>2 >>>=0 # 4. no-command help still works if there are flags, at least the common ones hledger -fsomefile ->>> /^Commands available/ +>>> /^hledger.*commands available/ >>>2 >>>=0 # 5. and also with a space between flag and value hledger -f somefile ->>> /^Commands available/ +>>> /^hledger.*commands available/ >>>2 >>>=0