Changeset 279 in tests for wp-testcase/test_includes_functions.php
- Timestamp:
- 12/22/2009 01:39:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-testcase/test_includes_functions.php
r278 r279 256 256 foreach ( $cases as $case ) 257 257 $this->assertTrue( is_serialized($case), "Serialized data: $case" ); 258 258 259 $not_serialized = array( 260 "a string", 261 "garbage:a:0:garbage;" 262 ); 263 264 foreach ( $not_serialized as $case ) 265 $this->assertFalse( is_serialized($case), "Test data: $case" ); 259 266 } 260 267
Note: See TracChangeset
for help on using the changeset viewer.