Make WordPress Core

Changeset 30520


Ignore:
Timestamp:
11/22/2014 08:34:15 PM (12 years ago)
Author:
boonebgorges
Message:

Remove failing assertions from is_serialized() tests.

They have been moved to new test methods, which have been attached as a patch
to the ticket #9930.

See #30284.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions.php

    r30055 r30520  
    132132        }
    133133
    134         /**
    135          * @ticket 9930
    136          */
    137134        function test_is_serialized() {
    138135                $cases = array(
     
    143140                        serialize(25),
    144141                        serialize(1.1),
    145                         serialize(2.1E+200),
    146142                        serialize('this string will be serialized'),
    147143                        serialize("a\nb"),
     
    156152                        'a string',
    157153                        'garbage:a:0:garbage;',
    158                         'b:4;',
    159154                        's:4:test;'
    160155                );
Note: See TracChangeset for help on using the changeset viewer.