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_scoping/.gitignore | 3 --- tests/test_scoping/code.php | 5 ----- tests/test_scoping/test.tpl | 18 ------------------ tests/test_scoping/want | 9 --------- 4 files changed, 35 deletions(-) delete mode 100644 tests/test_scoping/.gitignore delete mode 100644 tests/test_scoping/code.php delete mode 100644 tests/test_scoping/test.tpl delete mode 100644 tests/test_scoping/want (limited to 'tests/test_scoping') diff --git a/tests/test_scoping/.gitignore b/tests/test_scoping/.gitignore deleted file mode 100644 index de2a41b..0000000 --- a/tests/test_scoping/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -have -*.ast -*.transc.php diff --git a/tests/test_scoping/code.php b/tests/test_scoping/code.php deleted file mode 100644 index 25e7f00..0000000 --- a/tests/test_scoping/code.php +++ /dev/null @@ -1,5 +0,0 @@ -A -B - - in foo: \$a = $a - in foo: \$b = $b - in foo: \$c = $c - X - Y - Z - in foo (after set): \$a = $a - in foo (after set): \$b = $b - in foo (after set): \$c = $c - - - -\$a = $a -\$b = $b -\$c = $c \ No newline at end of file diff --git a/tests/test_scoping/want b/tests/test_scoping/want deleted file mode 100644 index 6e7a154..0000000 --- a/tests/test_scoping/want +++ /dev/null @@ -1,9 +0,0 @@ -in foo: $a = A -in foo: $b = B -in foo: $c = -in foo (after set): $a = X -in foo (after set): $b = Y -in foo (after set): $c = Z -$a = X -$b = B -$c = -- cgit v1.2.3-54-g00ecf