@@ -258,8 +258,7 @@ private static Stream<Arguments> legacyLabelNameTranslationArgs() {
258258 Arguments .of ("label:with:colons" , "label_with_colons" ),
259259 Arguments .of ("LabelWithCapitalLetters" , "LabelWithCapitalLetters" ),
260260 Arguments .of ("label!with&special$chars)" , "label_with_special_chars_" ),
261- Arguments .of (
262- "label_with_foreign_characters_\u5b57 \u7b26 " , "label_with_foreign_characters_" ),
261+ Arguments .of ("label_with_foreign_characters_字符" , "label_with_foreign_characters_" ),
263262 Arguments .of ("label.with.dots" , "label_with_dots" ),
264263 Arguments .of ("123label" , "key_123label" ),
265264 Arguments .of ("_label_starting_with_underscore" , "_label_starting_with_underscore" ),
@@ -276,12 +275,9 @@ void labelNameTranslation_legacyRejectsInvalidNormalizedName() {
276275 assertThatThrownBy (
277276 () ->
278277 convertAttributeLabels (
279- "\u3088 \u3046 \u3053 \u305d " ,
280- TranslationStrategy .UNDERSCORE_ESCAPING_WITH_SUFFIXES ))
278+ "ようこそ" , TranslationStrategy .UNDERSCORE_ESCAPING_WITH_SUFFIXES ))
281279 .isInstanceOf (IllegalArgumentException .class )
282- .hasMessage (
283- "normalization for label name \" \u3088 \u3046 \u3053 \u305d \" resulted in invalid name"
284- + " \" _\" " );
280+ .hasMessage ("normalization for label name \" ようこそ\" resulted in invalid name" + " \" _\" " );
285281 }
286282
287283 @ ParameterizedTest
0 commit comments