]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/filters/replace.test
twig implementation
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / filters / replace.test
1 --TEST--
2 "replace" filter
3 --TEMPLATE--
4 {{ "I like %this% and %that%."|replace({'%this%': "foo", '%that%': "bar"}) }}
5 --DATA--
6 return array()
7 --EXPECT--
8 I like foo and bar.