Changeset 18762 in josm for trunk


Ignore:
Timestamp:
2023-06-14T22:39:45+02:00 (18 months ago)
Author:
taylor.smock
Message:

Fix borked tests (see r18757)

Different test failed this time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerRule.java

    r18761 r18762  
    277277        } else {
    278278            final Object val = errors.keySet().iterator().next().val;
    279             selector = selector == null ? whichSelectorMatchesPrimitive(p) : selector;
     279            selector = selector == null && p != null ? whichSelectorMatchesPrimitive(p) : selector;
    280280            return String.valueOf(
    281281                    val instanceof Expression
Note: See TracChangeset for help on using the changeset viewer.