diff --git a/tests/EscapingTest.php b/tests/EscapingTest.php index db2fda1..cbbb100 100644 --- a/tests/EscapingTest.php +++ b/tests/EscapingTest.php @@ -49,4 +49,17 @@ public function testSkipEscaping() $this->assertEquals($expected, $meta); } + + public function testShorthandSkipEscaping() + { + $url = 'http://example.com/something?param1=123¶m2=456'; + + $expected = ''; + + seo()->twitter('player', $url, false); + + $meta = seo()->renderContentsArray()[0]; + + $this->assertEquals($expected, $meta); + } }