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_escapes/.gitignore | 3 --- tests/test_escapes/code.php | 8 -------- tests/test_escapes/test.tpl | 7 ------- tests/test_escapes/want | 7 ------- 4 files changed, 25 deletions(-) delete mode 100644 tests/test_escapes/.gitignore delete mode 100644 tests/test_escapes/code.php delete mode 100644 tests/test_escapes/test.tpl delete mode 100644 tests/test_escapes/want (limited to 'tests/test_escapes') diff --git a/tests/test_escapes/.gitignore b/tests/test_escapes/.gitignore deleted file mode 100644 index de2a41b..0000000 --- a/tests/test_escapes/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -have -*.ast -*.transc.php diff --git a/tests/test_escapes/code.php b/tests/test_escapes/code.php deleted file mode 100644 index a1904c8..0000000 --- a/tests/test_escapes/code.php +++ /dev/null @@ -1,8 +0,0 @@ -register_tag("my_echo", function ($ste, $params, $sub) { - return $params["text"]; - }); -} diff --git a/tests/test_escapes/test.tpl b/tests/test_escapes/test.tpl deleted file mode 100644 index 5458fde..0000000 --- a/tests/test_escapes/test.tpl +++ /dev/null @@ -1,7 +0,0 @@ -\\\\\\\$foo -\${bar} -\?{foo|bar|baz} -?{|Foo|Bar\|Baz} - - -\' \ No newline at end of file diff --git a/tests/test_escapes/want b/tests/test_escapes/want deleted file mode 100644 index 3278c4d..0000000 --- a/tests/test_escapes/want +++ /dev/null @@ -1,7 +0,0 @@ -\\\$foo -${bar} -?{foo|bar|baz} -Bar|Baz -foo\"bar$ -' -\' -- cgit v1.2.3-70-g09d2