diff --git a/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php b/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php index c6592c57..be4a9e15 100644 --- a/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php +++ b/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php @@ -90,15 +90,15 @@ test('(strings) shortcode', function () { $this->assertEquals(3632233996, parsers()->shortcodes()->parse("(strings crc32)test(/strings)")); // endsWith - $this->assertEquals("true", parsers()->shortcodes()->parse("(strings endsWith:"/")/movies/sg-1/season-5/episode-21/(/strings)")); - $this->assertEquals("false", parsers()->shortcodes()->parse("(strings endsWith:"/")/movies/sg-1/season-5/episode-21(/strings)")); + $this->assertEquals("true", parsers()->shortcodes()->parse("(strings endsWith:'/')/movies/sg-1/season-5/episode-21/(/strings)")); + $this->assertEquals("false", parsers()->shortcodes()->parse("(strings endsWith:'/')/movies/sg-1/season-5/episode-21(/strings)")); // finish $this->assertEquals("/movies/sg-1/season-5/episode-21/", parsers()->shortcodes()->parse("(strings finish:"/")/movies/sg-1/season-5/episode-21(/strings)")); // firstSegment $this->assertEquals("SG-1", parsers()->shortcodes()->parse("(strings firstSegment)SG-1 returns from an off-world mission(/strings)")); - $this->assertEquals("SG", parsers()->shortcodes()->parse("(strings firstSegment:"-")SG-1 returns from an off-world mission(/strings)")); + $this->assertEquals("SG", parsers()->shortcodes()->parse("(strings firstSegment:'-')SG-1 returns from an off-world mission(/strings)")); // format $this->assertEquals("There are 5 monkeys in the tree", parsers()->shortcodes()->parse("(strings format:'5,tree')There are %d monkeys in the %s(/strings)"));