Add some more tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
67914b1475
commit
9960dd4204
|
@ -339,6 +339,9 @@ public class FastDateParserTest {
|
||||||
testSdfAndFdp("Q" ,"", true); // bad pattern character
|
testSdfAndFdp("Q" ,"", true); // bad pattern character
|
||||||
testSdfAndFdp("$" ,"$", false); // OK
|
testSdfAndFdp("$" ,"$", false); // OK
|
||||||
testSdfAndFdp("?.d" ,"?.12", false); // OK
|
testSdfAndFdp("?.d" ,"?.12", false); // OK
|
||||||
|
testSdfAndFdp("''yyyyMMdd'A''B'HHmmssSSS''", "'20030210A'B153320989'", false); // OK
|
||||||
|
testSdfAndFdp("''''yyyyMMdd'A''B'HHmmssSSS''", "''20030210A'B153320989'", false); // OK
|
||||||
|
testSdfAndFdp("'$\\Ed'" ,"$\\Ed", false); // OK
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue