From 4e2bfed23c17929795f2082d6e77937170caeaa9 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 13 Sep 2020 21:35:16 +0200 Subject: Turn our functional tests into PhpUnit tests --- tests/test_foreach/.gitignore | 3 --- tests/test_foreach/code.php | 10 ---------- tests/test_foreach/test.tpl | 8 -------- tests/test_foreach/want | 5 ----- 4 files changed, 26 deletions(-) delete mode 100644 tests/test_foreach/.gitignore delete mode 100644 tests/test_foreach/code.php delete mode 100644 tests/test_foreach/test.tpl delete mode 100644 tests/test_foreach/want (limited to 'tests/test_foreach') diff --git a/tests/test_foreach/.gitignore b/tests/test_foreach/.gitignore deleted file mode 100644 index de2a41b..0000000 --- a/tests/test_foreach/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -have -*.ast -*.transc.php diff --git a/tests/test_foreach/code.php b/tests/test_foreach/code.php deleted file mode 100644 index 60ad311..0000000 --- a/tests/test_foreach/code.php +++ /dev/null @@ -1,10 +0,0 @@ -vars["foo"] = array( - "a" => array("a" => 100, "b" => 200), - "b" => array("a" => 1, "b" => 2), - "c" => array("a" => 42, "b" => 1337) - ); -} diff --git a/tests/test_foreach/test.tpl b/tests/test_foreach/test.tpl deleted file mode 100644 index 1aec8b4..0000000 --- a/tests/test_foreach/test.tpl +++ /dev/null @@ -1,8 +0,0 @@ - - $i: $k -> $v[a], $v[b] - ---- - - $v - --empty-- - diff --git a/tests/test_foreach/want b/tests/test_foreach/want deleted file mode 100644 index 5710bf7..0000000 --- a/tests/test_foreach/want +++ /dev/null @@ -1,5 +0,0 @@ -0: a -> 100, 200 -1: b -> 1, 2 -2: c -> 42, 1337 ---- ---empty-- -- cgit v1.2.3-70-g09d2