summaryrefslogtreecommitdiff
path: root/tests/test_short_for_additional_attribs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_short_for_additional_attribs')
-rw-r--r--tests/test_short_for_additional_attribs/.gitignore3
-rw-r--r--tests/test_short_for_additional_attribs/code.php12
-rw-r--r--tests/test_short_for_additional_attribs/test.tpl5
-rw-r--r--tests/test_short_for_additional_attribs/want5
4 files changed, 0 insertions, 25 deletions
diff --git a/tests/test_short_for_additional_attribs/.gitignore b/tests/test_short_for_additional_attribs/.gitignore
deleted file mode 100644
index de2a41b..0000000
--- a/tests/test_short_for_additional_attribs/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-have
-*.ast
-*.transc.php
diff --git a/tests/test_short_for_additional_attribs/code.php b/tests/test_short_for_additional_attribs/code.php
deleted file mode 100644
index 5d75d34..0000000
--- a/tests/test_short_for_additional_attribs/code.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-use kch42\ste\STECore;
-
-function test_func(STECore $ste)
-{
- $ste->set_var_by_name("data", array(
- array('content' => 'foo', 'foo' => true),
- array('content' => 'bar', 'foo' => false),
- array('content' => 'baz', 'foo' => false),
- ));
-}
diff --git a/tests/test_short_for_additional_attribs/test.tpl b/tests/test_short_for_additional_attribs/test.tpl
deleted file mode 100644
index e6b30e4..0000000
--- a/tests/test_short_for_additional_attribs/test.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-<ul>
- <ste:foreach array="data" value="x">
- <li?{$x[foo]| class="foo"|}>$x[content]</li>
- </ste:foreach>
-</ul> \ No newline at end of file
diff --git a/tests/test_short_for_additional_attribs/want b/tests/test_short_for_additional_attribs/want
deleted file mode 100644
index c46d63f..0000000
--- a/tests/test_short_for_additional_attribs/want
+++ /dev/null
@@ -1,5 +0,0 @@
-<ul>
-<li class="foo">foo</li>
-<li>bar</li>
-<li>baz</li>
-</ul>