summaryrefslogtreecommitdiff
path: root/tests/test_array
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_array
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_array')
-rw-r--r--tests/test_array/.gitignore3
-rw-r--r--tests/test_array/code.php14
-rw-r--r--tests/test_array/test.tpl1
-rw-r--r--tests/test_array/want1
4 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_array/.gitignore b/tests/test_array/.gitignore
deleted file mode 100644
index de2a41b..0000000
--- a/tests/test_array/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-have
-*.ast
-*.transc.php
diff --git a/tests/test_array/code.php b/tests/test_array/code.php
deleted file mode 100644
index b524c15..0000000
--- a/tests/test_array/code.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-function test_func($ste)
-{
- $ste->vars["foo"] = array(
- "a" => array(
- "blabla" => "OK"
- ),
- "b" => "bla"
- );
- $ste->vars["bar"] = array(
- "baz" => "a"
- );
-}
diff --git a/tests/test_array/test.tpl b/tests/test_array/test.tpl
deleted file mode 100644
index 050045d..0000000
--- a/tests/test_array/test.tpl
+++ /dev/null
@@ -1 +0,0 @@
-${foo[$bar[baz]][${foo[b]}bla]} \ No newline at end of file
diff --git a/tests/test_array/want b/tests/test_array/want
deleted file mode 100644
index d86bac9..0000000
--- a/tests/test_array/want
+++ /dev/null
@@ -1 +0,0 @@
-OK