aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2018-11-15 05:22:13 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2018-11-15 05:22:13 +0000
commit8c64c96af69182bfb64f98cebebfe73e3b1c111d (patch)
treef956fdfa8cde6dde412cebac9d706e3d52c9518e /src/test
parentdad3be567a30fa6b0f9ad03a5c3a66180b820311 (diff)
downloadjackcess-8c64c96af69182bfb64f98cebebfe73e3b1c111d.tar.gz
jackcess-8c64c96af69182bfb64f98cebebfe73e3b1c111d.zip
currency format uses parens; add bool predefined formats
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1225 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/impl/expr/DefaultFunctionsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/impl/expr/DefaultFunctionsTest.java b/src/test/java/com/healthmarketscience/jackcess/impl/expr/DefaultFunctionsTest.java
index fdab104..8c015d8 100644
--- a/src/test/java/com/healthmarketscience/jackcess/impl/expr/DefaultFunctionsTest.java
+++ b/src/test/java/com/healthmarketscience/jackcess/impl/expr/DefaultFunctionsTest.java
@@ -250,9 +250,9 @@ public class DefaultFunctionsTest extends TestCase
assertEval("-.123%", "=FormatPercent(-0.0012345,3,False)");
assertEval("$12,345.00", "=FormatCurrency(12345)");
- assertEval("($12.34)", "=FormatCurrency(-12.345,-1,True,True)");
+ assertEval("-$12.34", "=FormatCurrency(-12.345,-1,True,False)");
assertEval("$12", "=FormatCurrency(12.345,0,True,True)");
- assertEval("-$.123", "=FormatCurrency(-0.12345,3,False)");
+ assertEval("($.123)", "=FormatCurrency(-0.12345,3,False)");
assertEval("1/1/1973 1:37:25 PM", "=FormatDateTime(#1/1/1973 1:37:25 PM#)");
assertEval("1:37:25 PM", "=FormatDateTime(#1:37:25 PM#,0)");