File tree Expand file tree Collapse file tree
tests/phpunit/tests/formatting Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2220,10 +2220,11 @@ function uses_single_unicode_script( string $input ): bool {
22202220 case IntlChar::BLOCK_CODE_DEVANAGARI_EXTENDED :
22212221 $ b = IntlChar::BLOCK_CODE_DEVANAGARI ;
22222222 break ;
2223- case IntlChar::BLOCK_CODE_HANGUL_JAMO :
2223+ case IntlChar::BLOCK_CODE_HANGUL_COMPATIBILITY_JAMO :
22242224 case IntlChar::BLOCK_CODE_HANGUL_JAMO_EXTENDED_A :
22252225 case IntlChar::BLOCK_CODE_HANGUL_JAMO_EXTENDED_B :
2226- $ b = IntlChar::BLOCK_CODE_HANGUL ;
2226+ case IntlChar::BLOCK_CODE_HANGUL_SYLLABLES :
2227+ $ b = IntlChar::BLOCK_CODE_HANGUL_JAMO ;
22272228 break ;
22282229 case IntlChar::BLOCK_CODE_MYANMAR_EXTENDED_A :
22292230 case IntlChar::BLOCK_CODE_MYANMAR_EXTENDED_B :
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ class Tests_Formatting_antispambot extends WP_UnitTestCase {
1010 /**
1111 * This is basically a driveby test. While working on ticket
1212 * 31992 I noticed that there was no unit testing for
13- * antispambot, so I added a little, just so I'd leave
14- * the code better than I found it.
13+ * antispambot, so I added a little, just so I'd leave the code
14+ * better than I found it.
1515 *
1616 * @ticket 31992
1717 *
You can’t perform that action at this time.
0 commit comments