|
|
@@ -22,7 +22,7 @@ class BackendI18nBundleContractTest {
|
|
|
"messages_zh_CN.properties", "messages_zh_TW.properties",
|
|
|
"messages_en_US.properties", "messages_vi.properties",
|
|
|
"messages_th_TH.properties");
|
|
|
- private static final Pattern PLACEHOLDER = Pattern.compile("\\{\\d+}");
|
|
|
+ private static final Pattern PLACEHOLDER = Pattern.compile("\\{[^{}]*}");
|
|
|
|
|
|
@Test
|
|
|
void everyLocalizedBundleHasTheSameNonBlankKeysAndPlaceholders() throws Exception {
|