Changeset 19134 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2024-07-09T23:13:53+02:00 (5 months ago)
Author:
taylor.smock
Message:

Fix broken Tag2Link test (due to external reordering of preferred links)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/Tag2LinkTest.java

    r18475 r19134  
    4242     * Unit test for links that may come in multiple forms.
    4343     * Example: <a href="https://wiki.osm.org/wiki/Key:contact:facebook">https://wiki.openstreetmap.org/wiki/Key:contact:facebook</a>
    44      *
     44     * <p>
    4545     * See also JOSM #21794
    4646     * @param value The tag value for "contact:facebook"
     
    5454        }
    5555        Tag2Link.getLinksForTag("contact:facebook", value, this::addLink);
    56         this.checkLinks("Open unavatar.now.sh // https://unavatar.now.sh/facebook/FacebookUserName",
    57                 "Open facebook.com // https://www.facebook.com/FacebookUserName",
     56        this.checkLinks("Open facebook.com // https://www.facebook.com/FacebookUserName",
     57                "Open unavatar.now.sh // https://unavatar.now.sh/facebook/FacebookUserName",
    5858                "Open messenger.com // https://www.messenger.com/t/FacebookUserName");
    5959    }
     
    146146    /**
    147147     * Unit test of function {@link Tag2Link#getLinksForTag}.
    148      *
    149      * Non-regression test for https://josm.openstreetmap.de/ticket/19754#comment:9
     148     * <p>
     149     * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/19754#comment:9">comment:9:ticket:19754</a>
    150150     */
    151151    @Test
Note: See TracChangeset for help on using the changeset viewer.