mirror of https://github.com/apache/poi.git
whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
83398660de
commit
54020b8fb4
|
@ -119,9 +119,7 @@ public class TestDataFormatter {
|
|||
DataFormatter dfUS = new DataFormatter(Locale.US);
|
||||
|
||||
// Without currency symbols
|
||||
String[] formats = new String[] {
|
||||
"#,##0.00;[Blue](#,##0.00)",
|
||||
};
|
||||
String[] formats = new String[] { "#,##0.00;[Blue](#,##0.00)" };
|
||||
for (String format : formats) {
|
||||
assertEquals(
|
||||
"Wrong format for: " + format,
|
||||
|
@ -136,9 +134,7 @@ public class TestDataFormatter {
|
|||
}
|
||||
|
||||
// With
|
||||
formats = new String[] {
|
||||
"$#,##0.00;[Red]($#,##0.00)"
|
||||
};
|
||||
formats = new String[] { "$#,##0.00;[Red]($#,##0.00)" };
|
||||
for (String format : formats) {
|
||||
assertEquals(
|
||||
"Wrong format for: " + format,
|
||||
|
@ -245,8 +241,8 @@ public class TestDataFormatter {
|
|||
assertEquals("321 321/1000", dfUS.formatRawCellContents(321.321, -1, "# #/##########"));
|
||||
|
||||
// Not a valid fraction formats (too many #/# or ?/?) - hence the strange expected results
|
||||
|
||||
/* assertEquals("321 / ?/?", dfUS.formatRawCellContents(321.321, -1, "# #/# ?/?"));
|
||||
/*
|
||||
assertEquals("321 / ?/?", dfUS.formatRawCellContents(321.321, -1, "# #/# ?/?"));
|
||||
assertEquals("321 / /", dfUS.formatRawCellContents(321.321, -1, "# #/# #/#"));
|
||||
assertEquals("321 ?/? ?/?", dfUS.formatRawCellContents(321.321, -1, "# ?/? ?/?"));
|
||||
assertEquals("321 ?/? / /", dfUS.formatRawCellContents(321.321, -1, "# ?/? #/# #/#"));
|
||||
|
|
Loading…
Reference in New Issue