summaryrefslogtreecommitdiff
blob: bf7180e664fd4a0fcc03b97ce9374e83b446f311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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")