From fc8f7eec23e8e95fc9a4a483bb69a1ee6866069d Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 23 Oct 2013 00:01:49 +0200 Subject: Added some tests --- tests/test_loop/.gitignore | 3 +++ tests/test_loop/code.php | 5 +++++ tests/test_loop/test.tpl | 3 +++ tests/test_loop/want | 11 +++++++++++ 4 files changed, 22 insertions(+) create mode 100644 tests/test_loop/.gitignore create mode 100644 tests/test_loop/code.php create mode 100644 tests/test_loop/test.tpl create mode 100644 tests/test_loop/want (limited to 'tests/test_loop') diff --git a/tests/test_loop/.gitignore b/tests/test_loop/.gitignore new file mode 100644 index 0000000..de2a41b --- /dev/null +++ b/tests/test_loop/.gitignore @@ -0,0 +1,3 @@ +have +*.ast +*.transc.php diff --git a/tests/test_loop/code.php b/tests/test_loop/code.php new file mode 100644 index 0000000..de8c553 --- /dev/null +++ b/tests/test_loop/code.php @@ -0,0 +1,5 @@ + +$i + \ No newline at end of file diff --git a/tests/test_loop/want b/tests/test_loop/want new file mode 100644 index 0000000..30b148d --- /dev/null +++ b/tests/test_loop/want @@ -0,0 +1,11 @@ +10 +9 +8 +7 +6 +5 +4 +3 +2 +1 +0 -- cgit v1.2.3-70-g09d2