diff --git a/tests/phpunit/tests/shortcode.php b/tests/phpunit/tests/shortcode.php
index 2e61e72..7e8b971 100644
a
|
b
|
EOF; |
299 | 299 | } |
300 | 300 | |
301 | 301 | /** |
| 302 | * @ticket 14050 |
| 303 | */ |
| 304 | function test_shortcode_unautop() { |
| 305 | // a blank line is added at the end, so test with it already there |
| 306 | $test_string = "[footag]\n"; |
| 307 | $this->assertEquals( $test_string, shortcode_unautop( wpautop( $test_string ) ) ); |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * @ticket 14050 |
| 312 | */ |
| 313 | function test_multiple_shortcode_unautop() { |
| 314 | // a blank line is added at the end, so test with it already there |
| 315 | $test_string = "[footag]\n[footag]\n"; |
| 316 | $actual = shortcode_unautop( wpautop( $test_string ) ); |
| 317 | $this->assertEquals( $test_string, $actual ); |
| 318 | } |
| 319 | |
| 320 | /** |
302 | 321 | * @ticket 10326 |
303 | 322 | */ |
304 | 323 | function test_strip_shortcodes() { |