Changeset 964 in tests
- Timestamp:
- 08/12/2012 10:10:55 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/shortcode.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/shortcode.php
r930 r964 300 300 function test_shortcode_unautop() { 301 301 // a blank line is added at the end, so test with it already there 302 $test_string = <<<EOF 303 [footag] 304 305 EOF; 306 302 $test_string = "[footag]\n"; 307 303 $this->assertEquals( $test_string, shortcode_unautop( wpautop( $test_string ) ) ); 308 304 } … … 313 309 function test_multiple_shortcode_unautop() { 314 310 // a blank line is added at the end, so test with it already there 315 $test_string = <<<EOF 316 [footag] 317 [footag] 318 319 EOF; 320 311 $test_string = "[footag]\n[footag]\n"; 321 312 $actual = shortcode_unautop( wpautop( $test_string ) ); 322 313 $this->assertEquals( $test_string, $actual );
Note: See TracChangeset
for help on using the changeset viewer.