summaryrefslogtreecommitdiff
path: root/test/baseline/opt-gain.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-gain.test')
-rw-r--r--test/baseline/opt-gain.test11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/baseline/opt-gain.test b/test/baseline/opt-gain.test
index 4370a22e..52439080 100644
--- a/test/baseline/opt-gain.test
+++ b/test/baseline/opt-gain.test
@@ -26,7 +26,7 @@ P 2009/04/01 00:00:00 S 16 P
; 2010/01/01 Sample 1b
; Assets:Brokerage:Cash -100 P
; Assets:Brokerage:Stocks 100 S
-;
+;
; P 2010/01/01 00:00:00 S 2 P
2010/02/01 Sample 2b
@@ -62,3 +62,12 @@ test reg --gain stocks
10-Apr-01 Commodities revalued <Revalued> 3200 P 6000 P
10-Apr-01 Sample 4b Asset:Brokerage:Stocks -1500 P 4500 P
end test
+
+test bal --change
+ 4500 P Assets:Brokerage:Stocks
+end test
+
+test bal -G
+ 4500 P Assets:Brokerage:Stocks
+end test
+