[wp-trac] [WordPress Trac] #33171: Unit test Tests_DB_Charset::test_strip_invalid_text fails with MariaDB 10.1
WordPress Trac
noreply at wordpress.org
Wed Jul 29 11:20:01 UTC 2015
#33171: Unit test Tests_DB_Charset::test_strip_invalid_text fails with MariaDB 10.1
--------------------------+-----------------------------
Reporter: netweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
Tests_DB_Charset::test_strip_invalid_text
{{{
1) Tests_DB_Charset::test_strip_invalid_text with data set #41
(array(array('big5', 'a�@ba�@ba�@ba�@ba�@ba�@ba�@ba... at ba�@b',
array('byte', 10))), array(array('big5', 'a�@ba�@ba', array('byte', 10))),
'big5_byte_length')
big5_byte_length
Failed asserting that Array &0 (
0 => Array &1 (
'charset' => 'big5'
'value' => 'a�@ba�@ba?'
'length' => Array &2 (
'type' => 'byte'
'length' => 10
)
)
) is identical to Array &0 (
0 => Array &1 (
'charset' => 'big5'
'value' => 'a�@ba�@ba'
'length' => Array &2 (
'type' => 'byte'
'length' => 10
)
)
).
}}}
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/db/charset.php#L349
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33171>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list