summaryrefslogtreecommitdiff
path: root/tests/test_tagname/code.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:35:16 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:35:16 +0200
commit4e2bfed23c17929795f2082d6e77937170caeaa9 (patch)
tree4d9f66596c80af8081e4279580a3bbb4721ef184 /tests/test_tagname/code.php
parent5ee6bbbf3002daf075fa77007daccf4d2af25241 (diff)
downloadste-4e2bfed23c17929795f2082d6e77937170caeaa9.tar.gz
ste-4e2bfed23c17929795f2082d6e77937170caeaa9.tar.bz2
ste-4e2bfed23c17929795f2082d6e77937170caeaa9.zip
Turn our functional tests into PhpUnit tests
Diffstat (limited to 'tests/test_tagname/code.php')
-rw-r--r--tests/test_tagname/code.php22
1 files changed, 0 insertions, 22 deletions
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;
- }
- );
- }
-}