diff --git a/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestExampleGenerator.java b/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestExampleGenerator.java index 8100de0173e..2a57bb1f2e6 100644 --- a/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestExampleGenerator.java +++ b/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestExampleGenerator.java @@ -2110,7 +2110,7 @@ public void TestRefactoring() { ExampleGeneratorOld exampleGeneratorOld = new ExampleGeneratorOld(resolvedCldrFile, info.getEnglish()); for (String path : unresolvedCldrFile) { - if (isValidPath(path, locale)) { + if (isValidPath(path, loc)) { String value = unresolvedCldrFile.getStringValue(path); String oldExample = exampleGeneratorOld.getExampleHtml(path, value); String newExample = exampleGenerator.getExampleHtml(path, value);