diff options
Diffstat (limited to 'tests/test_tagname')
-rw-r--r-- | tests/test_tagname/.gitignore | 3 | ||||
-rw-r--r-- | tests/test_tagname/code.php | 22 | ||||
-rw-r--r-- | tests/test_tagname/test.tpl | 4 | ||||
-rw-r--r-- | tests/test_tagname/want | 4 |
4 files changed, 0 insertions, 33 deletions
diff --git a/tests/test_tagname/.gitignore b/tests/test_tagname/.gitignore deleted file mode 100644 index de2a41b..0000000 --- a/tests/test_tagname/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -have -*.ast -*.transc.php diff --git a/tests/test_tagname/code.php b/tests/test_tagname/code.php deleted file mode 100644 index e934989..0000000 --- a/tests/test_tagname/code.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -use kch42\ste\STECore; - -function test_func(STECore $ste) -{ - $names = array( - "foo", - "ab_cd", - "foo123baz", - "x0123", - ); - - foreach ($names as $name) { - $ste->register_tag( - $name, - function ($ste, $params, $sub) use ($name) { - return $name; - } - ); - } -} diff --git a/tests/test_tagname/test.tpl b/tests/test_tagname/test.tpl deleted file mode 100644 index 30ca889..0000000 --- a/tests/test_tagname/test.tpl +++ /dev/null @@ -1,4 +0,0 @@ -<ste:foo /> -<ste:ab_cd /> -<ste:foo123baz /> -<ste:x0123 />
\ No newline at end of file diff --git a/tests/test_tagname/want b/tests/test_tagname/want deleted file mode 100644 index 3233294..0000000 --- a/tests/test_tagname/want +++ /dev/null @@ -1,4 +0,0 @@ -foo -ab_cd -foo123baz -x0123 |