Changeset 16805 in josm
- Timestamp:
- 2020-07-22T21:40:47+02:00 (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ivy.xml
r16773 r16805 29 29 <dependency conf="api->default" org="com.adobe.xmp" name="xmpcore" rev="6.1.10"/> 30 30 <dependency conf="api->default" org="com.drewnoakes" name="metadata-extractor" rev="2.13.0" transitive="false"/> 31 <dependency conf="api->default" org="ch.poole" name="OpeningHoursParser" rev="0.2 1.4"/>31 <dependency conf="api->default" org="ch.poole" name="OpeningHoursParser" rev="0.22.0"/> 32 32 <dependency conf="api->default" org="oauth.signpost" name="signpost-core" rev="2.0.0"/> 33 33 <dependency conf="api->default" org="org.webjars.npm" name="tag2link" rev="2020.7.15"/> … … 41 41 <dependency conf="sources->sources" org="com.adobe.xmp" name="xmpcore" rev="6.1.10"/> 42 42 <dependency conf="sources->sources" org="com.drewnoakes" name="metadata-extractor" rev="2.13.0" transitive="false"/> 43 <dependency conf="sources->sources" org="ch.poole" name="OpeningHoursParser" rev="0.2 1.4"/>43 <dependency conf="sources->sources" org="ch.poole" name="OpeningHoursParser" rev="0.22.0"/> 44 44 <dependency conf="sources->sources" org="oauth.signpost" name="signpost-core" rev="2.0.0"/> 45 45 <dependency conf="sources->default" org="org.webjars.npm" name="tag2link" rev="2020.7.15"/><!-- sources->default sic! (tag2link-sources.jar is empty, see #19335) --> -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/OpeningHourTestTest.java
r16618 r16805 191 191 // assertThat(checkOpeningHourSyntax(key, "Mo-Fr 00:00-00:30,04:00-00:30; Sa,Su,PH 00:00-24:00"), isEmpty()); 192 192 assertThat(checkOpeningHourSyntax(key, "Mo-Fr 0:00-0:30,4:00-00:30; Sa,Su,PH 0:00-24:00"), hasSize(1)); 193 assertFixEquals("Mo-Fr 00:00-00:30,04:00-00:30; PH,Sa,Su00:00-24:00",193 assertFixEquals("Mo-Fr 00:00-00:30,04:00-00:30; Sa,Su,PH 00:00-24:00", 194 194 checkOpeningHourSyntax(key, "Mo-Fr 0:00-0:30,4:00-00:30; Sa,Su,PH 0:00-24:00").get(0)); 195 assertFixEquals("Mo-Fr 00:00-00:30,04:00-00:30; PH,Sa,Su00:00-24:00",195 assertFixEquals("Mo-Fr 00:00-00:30,04:00-00:30; Sa,Su,PH 00:00-24:00", 196 196 checkOpeningHourSyntax(key, "Mo-Fr 0:00-0:30,4:00-00:30; Sa,Su,PH 0:00-24:00").get(0)); 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.