Skip to content

Commit cec09b3

Browse files
committed
Always ignore the names list in propertywise tests
1 parent 092c2f2 commit cec09b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

unicodetools/src/main/java/org/unicode/text/UCD/TestUnicodeInvariants.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,9 @@ private static void propertywiseAlikeLine(
485485
final var iup = IndexUnicodeProperties.make(Settings.latestVersion);
486486
final List<String> errorMessageLines = new ArrayList<>();
487487
for (var p : UcdProperty.values()) {
488+
if (p.name().startsWith("Names_List_")) {
489+
continue;
490+
}
488491
final var property = iup.getProperty(p);
489492
if (property.getNameAliases().stream()
490493
.anyMatch(alias -> ignoredProperties.contains(alias))) {
@@ -653,6 +656,9 @@ public ExpectedPropertyDifference(String actualValueAlias, String referenceValue
653656
} while (Lookahead.oneToken(pp, source).accept(","));
654657
}
655658
for (var p : UcdProperty.values()) {
659+
if (p.name().startsWith("Names_List_")) {
660+
continue;
661+
}
656662
final var property = iup.getProperty(p);
657663
if (property.getNameAliases().stream()
658664
.anyMatch(alias -> ignoredProperties.contains(alias))) {

0 commit comments

Comments
 (0)