Changeset 16805 in josm


Ignore:
Timestamp:
2020-07-22T21:40:47+02:00 (4 years ago)
Author:
simon04
Message:

fix #19571 - Update to OpeningHoursParser 0.22.0

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ivy.xml

    r16773 r16805  
    2929        <dependency conf="api->default" org="com.adobe.xmp" name="xmpcore" rev="6.1.10"/>
    3030        <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.21.4"/>
     31        <dependency conf="api->default" org="ch.poole" name="OpeningHoursParser" rev="0.22.0"/>
    3232        <dependency conf="api->default" org="oauth.signpost" name="signpost-core" rev="2.0.0"/>
    3333        <dependency conf="api->default" org="org.webjars.npm" name="tag2link" rev="2020.7.15"/>
     
    4141        <dependency conf="sources->sources" org="com.adobe.xmp" name="xmpcore" rev="6.1.10"/>
    4242        <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.21.4"/>
     43        <dependency conf="sources->sources" org="ch.poole" name="OpeningHoursParser" rev="0.22.0"/>
    4444        <dependency conf="sources->sources" org="oauth.signpost" name="signpost-core" rev="2.0.0"/>
    4545        <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  
    191191        // assertThat(checkOpeningHourSyntax(key, "Mo-Fr 00:00-00:30,04:00-00:30; Sa,Su,PH 00:00-24:00"), isEmpty());
    192192        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,Su 00:00-24:00",
     193        assertFixEquals("Mo-Fr 00:00-00:30,04:00-00:30; Sa,Su,PH 00:00-24:00",
    194194                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,Su 00:00-24:00",
     195        assertFixEquals("Mo-Fr 00:00-00:30,04:00-00:30; Sa,Su,PH 00:00-24:00",
    196196                checkOpeningHourSyntax(key, "Mo-Fr 0:00-0:30,4:00-00:30; Sa,Su,PH 0:00-24:00").get(0));
    197197    }
Note: See TracChangeset for help on using the changeset viewer.