You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-office/gnucash/files/gnucash-3.4-test-transactio...

26 lines
1.1 KiB

From 95bee405cf5568f5899287ba62058cf894361676 Mon Sep 17 00:00:00 2001
From: Christopher Lam <christopher.lck@gmail.com>
Date: Wed, 2 Jan 2019 00:00:56 +0800
Subject: [PATCH] [test-transaction] fix a test which was hardcoded to 2018.
This test was hard-coded to pass in 2018. Fix.
---
gnucash/report/standard-reports/test/test-transaction.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnucash/report/standard-reports/test/test-transaction.scm b/gnucash/report/standard-reports/test/test-transaction.scm
index 755aba2983..2f428e24e9 100644
--- a/gnucash/report/standard-reports/test/test-transaction.scm
+++ b/gnucash/report/standard-reports/test/test-transaction.scm
@@ -652,8 +652,8 @@
(list "Grand Total" "$2,280.00" "$2,280.00")
(get-row-col sxml -1 #f))
(test-equal "dual amount column, first transaction correct"
- (list "01/03/18" "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
- (get-row-col sxml 1 #f)))
+ (list "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
+ (cdr (get-row-col sxml 1 #f))))
)
(test-end "display options")