summaryrefslogtreecommitdiff
path: root/tests/functional/test_escapes/Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/test_escapes/Test.php')
-rw-r--r--tests/functional/test_escapes/Test.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/functional/test_escapes/Test.php b/tests/functional/test_escapes/Test.php
new file mode 100644
index 0000000..5c2a2ab
--- /dev/null
+++ b/tests/functional/test_escapes/Test.php
@@ -0,0 +1,21 @@
+<?php
+
+namespace tests\functional\test_escapes;
+
+use kch42\ste\STECore;
+use tests\functional\BaseTest;
+
+class Test extends BaseTest
+{
+ protected function getDirectory(): string
+ {
+ return __DIR__;
+ }
+
+ protected function setUpSte(STECore $ste): void
+ {
+ $ste->register_tag("my_echo", function ($ste, $params, $sub) {
+ return $params["text"];
+ });
+ }
+}