diff --git a/core/tests/unit/ldml/keyboards/k_009_transform_nfc-test.xml b/core/tests/unit/ldml/keyboards/k_009_transform_nfc-test.xml index 974cd302204..f6462c61d7f 100644 --- a/core/tests/unit/ldml/keyboards/k_009_transform_nfc-test.xml +++ b/core/tests/unit/ldml/keyboards/k_009_transform_nfc-test.xml @@ -39,12 +39,12 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -70,12 +70,12 @@ - + - + @@ -92,7 +92,7 @@ - + @@ -101,7 +101,7 @@ - + @@ -123,7 +123,7 @@ - + @@ -175,7 +175,7 @@ - + @@ -183,7 +183,7 @@ - + @@ -207,7 +207,7 @@ - + @@ -293,7 +293,7 @@ - + @@ -302,7 +302,7 @@ - + @@ -311,7 +311,7 @@ - + @@ -332,12 +332,12 @@ - + - + @@ -357,7 +357,7 @@ - + @@ -369,7 +369,7 @@ - + diff --git a/core/tests/unit/ldml/ldml_test_source.cpp b/core/tests/unit/ldml/ldml_test_source.cpp index 6df82312dc7..9bb08b11f25 100644 --- a/core/tests/unit/ldml/ldml_test_source.cpp +++ b/core/tests/unit/ldml/ldml_test_source.cpp @@ -511,7 +511,7 @@ LdmlJsonTestSource::next_action(ldml_action &fillin) { if (type == "check") { fillin.type = LDML_ACTION_CHECK_EXPECTED; fillin.string = LdmlTestSource::parse_u8_source_string(result.get()); - if (get_normalization_disabled()) { + if (!get_normalization_disabled()) { assert(km::core::ldml::normalize_nfd(fillin.string)); // TODO-LDML: will be NFC when core is normalizing to NFC } return; @@ -526,7 +526,7 @@ LdmlJsonTestSource::next_action(ldml_action &fillin) { } else if (type == "emit") { fillin.type = LDML_ACTION_EMIT_STRING; fillin.string = LdmlTestSource::parse_u8_source_string(to.get()); - if (get_normalization_disabled()) { + if (!get_normalization_disabled()) { assert(km::core::ldml::normalize_nfd(fillin.string)); // TODO-LDML: will be NFC when core is normalizing to NFC } return; @@ -553,7 +553,7 @@ LdmlJsonTestSource::get_context() { // only set startContext if present - it's optional. auto startContext = data["/startContext/to"_json_pointer]; context = LdmlTestSource::parse_u8_source_string(startContext); - if (get_normalization_disabled()) { + if (!get_normalization_disabled()) { assert(km::core::ldml::normalize_nfd(context)); // TODO-LDML: should be NFC } }