Test fixes

This commit is contained in:
jamesagnew 2020-04-09 14:22:04 -04:00
parent c1d682ed02
commit ac29073b72
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ public class ResourceValidatorDstu2_1Test {
parser.parseResource(encoded); parser.parseResource(encoded);
fail(); fail();
} catch (DataFormatException e) { } catch (DataFormatException e) {
assertEquals("DataFormatException at [[row,col {unknown-source}]: [2,4]]: Invalid attribute value \"2000-15-31\": Invalid date/time format: \"2000-15-31\"", e.getMessage()); assertEquals("DataFormatException at [[row,col {unknown-source}]: [2,4]]: [element=\"birthDate\"] Invalid attribute value \"2000-15-31\": Invalid date/time format: \"2000-15-31\"", e.getMessage());
} }
} }

View File

@ -98,7 +98,7 @@ public class ResourceValidatorDstu3Test {
parser.parseResource(encoded); parser.parseResource(encoded);
fail(); fail();
} catch (DataFormatException e) { } catch (DataFormatException e) {
assertEquals("DataFormatException at [[row,col {unknown-source}]: [2,4]]: Invalid attribute value \"2000-15-31\": Invalid date/time format: \"2000-15-31\"", e.getMessage()); assertEquals("DataFormatException at [[row,col {unknown-source}]: [2,4]]: [element=\"birthDate\"] Invalid attribute value \"2000-15-31\": Invalid date/time format: \"2000-15-31\"", e.getMessage());
} }
} }