From c6c412632bbddf888f1438e8b0c870f3d20264a6 Mon Sep 17 00:00:00 2001 From: Joseph Weston Date: Sun, 22 Jul 2018 22:37:02 +0200 Subject: [PATCH] lib: add failing functional test for glob pattern includes --- tests/journal/include.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/journal/include.test b/tests/journal/include.test index 4636c19b0..a773bca75 100644 --- a/tests/journal/include.test +++ b/tests/journal/include.test @@ -35,3 +35,16 @@ include b.timedot (b.bb) 1.00 >>>=0 + +# 3. include glob patterns +printf '2018/01/01\n (A) 1\n' >xy.journal; printf '2018/02/01\n (B) 1' >yy.journal; hledger -f - print; rm -rf x.journal y.journal +<<< +include *y.journal +>>> +2018/01/01 + (A) 1 + +2018/02/01 + (B) 1 + +>>>=0