diff --git a/tests/test-global.twig b/tests/test-global.twig index ff326cb..54baba8 100644 --- a/tests/test-global.twig +++ b/tests/test-global.twig @@ -11,3 +11,11 @@ global_var = {{ global_var }} {{ 'meow'|test_filter }} {{ test_function('the') }} {{ 'test' is test_test ? 'test works' : 'test does not work' }} + +{{ 'Mewow'|data_uri(mime="text/plain") }} +{{ 'Mewow'|data_uri(mime="application/octet-stream") }} + +
yay
diff --git a/tests/test-loaded-render.html b/tests/test-loaded-render.html index e997be0..76451e7 100644 --- a/tests/test-loaded-render.html +++ b/tests/test-loaded-render.html @@ -11,6 +11,11 @@ filter:meow func:the test works +data:text/plain,Mewow +data:application/octet-stream;base64,TWV3b3c= + +
yay
+ this var is context simple set call applied with fuckery diff --git a/tests/test-loaded-string.html b/tests/test-loaded-string.html index 71cb5d6..c7a0434 100644 --- a/tests/test-loaded-string.html +++ b/tests/test-loaded-string.html @@ -11,6 +11,11 @@ filter:meow func:the test works +data:text/plain,Mewow +data:application/octet-stream;base64,TWV3b3c= + +
yay
+ this var is context simple set call applied with fuckery diff --git a/tests/test-rendered.html b/tests/test-rendered.html index d75f623..2ac3baa 100644 --- a/tests/test-rendered.html +++ b/tests/test-rendered.html @@ -11,4 +11,9 @@ filter:meow func:the test works +data:text/plain,Mewow +data:application/octet-stream;base64,TWV3b3c= + +
yay
+ this var is local