summaryrefslogtreecommitdiff
path: root/test/baseline/opt-time-colon.test
diff options
context:
space:
mode:
authortripun <tripun@gmail.com>2014-08-10 00:16:09 +0530
committerMartin Michlmayr <tbm@cyrius.com>2014-08-10 08:43:09 +0200
commitebf9585d99564c10a5c069cfe4ab00cc0a9bd974 (patch)
treebe0a6f0c695cfabee40dc9db37299238f4bcf33b /test/baseline/opt-time-colon.test
parent095aacf39b00da39bc5843b5edb72b611a5992ff (diff)
downloadfork-ledger-ebf9585d99564c10a5c069cfe4ab00cc0a9bd974.tar.gz
fork-ledger-ebf9585d99564c10a5c069cfe4ab00cc0a9bd974.tar.bz2
fork-ledger-ebf9585d99564c10a5c069cfe4ab00cc0a9bd974.zip
add test for --time-colon
Diffstat (limited to 'test/baseline/opt-time-colon.test')
-rw-r--r--test/baseline/opt-time-colon.test45
1 files changed, 45 insertions, 0 deletions
diff --git a/test/baseline/opt-time-colon.test b/test/baseline/opt-time-colon.test
new file mode 100644
index 00000000..1722a9f6
--- /dev/null
+++ b/test/baseline/opt-time-colon.test
@@ -0,0 +1,45 @@
+2013/04/05 ()
+ (Internal:Meeting:Tactical) 1800s @ ($36/3600)
+
+2013/04/05 ()
+ (CustomerA:Email) 300s
+
+2013/04/05 ()
+ (CustomerB:Config) 5100s
+
+2013/04/05 ()
+ (Personal:Walk) 1800s
+
+2013/04/05 ()
+ (Personal:Lunch) 5400s
+
+test bal
+ 5.0m CustomerA:Email
+ 1.42h CustomerB:Config
+ 30.0m Internal:Meeting:Tactical
+ 2.00h Personal
+ 1.50h Lunch
+ 30.0m Walk
+--------------------
+ 4.00h
+end test
+
+test bal --time-colon
+ 5:0m CustomerA:Email
+ 1:25h CustomerB:Config
+ 30:0m Internal:Meeting:Tactical
+ 2:00h Personal
+ 1:30h Lunch
+ 30:0m Walk
+--------------------
+ 4:00h
+end test
+
+test reg --time-colon
+13-Apr-05 <Unspecified payee> (Int:Meeting:Tactical) 30:0m 30:0m
+13-Apr-05 <Unspecified payee> (CustomerA:Email) 5:0m 35:0m
+13-Apr-05 <Unspecified payee> (CustomerB:Config) 1:25h 2:00h
+13-Apr-05 <Unspecified payee> (Personal:Walk) 30:0m 2:30h
+13-Apr-05 <Unspecified payee> (Personal:Lunch) 1:30h 4:00h
+end test
+