From b52413dbb4d8333d5fe2a351780e20b04c4525a2 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Tue, 14 Apr 2015 22:37:15 +0200 Subject: Trim whitespace --- tests/mktest.sh | 2 +- tests/test.php | 4 ++-- tests/test_autoescape/code.php | 2 +- tests/test_blocks/code.php | 2 +- tests/test_closure/code.php | 2 +- tests/test_loop/code.php | 2 +- tests/test_mktag/code.php | 2 +- tests/test_pseudotags/code.php | 2 +- tests/test_scoping/code.php | 2 +- tests/test_short/code.php | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) (limited to 'tests') diff --git a/tests/mktest.sh b/tests/mktest.sh index f249a7f..fb4facc 100755 --- a/tests/mktest.sh +++ b/tests/mktest.sh @@ -7,7 +7,7 @@ touch "$1/want" echo ' "$1/code.php" echo 'have diff --git a/tests/test.php b/tests/test.php index f051d94..4baa4d7 100644 --- a/tests/test.php +++ b/tests/test.php @@ -15,12 +15,12 @@ class TestStorage implements ste\StorageAccess { $mode = ste\StorageAccess::MODE_SOURCE; return file_get_contents($tpl); } - + public function save($tpl, $data, $mode) { if($mode != ste\StorageAccess::MODE_TRANSCOMPILED) { return; } - + file_put_contents("$tpl.transc.php", $data); } } diff --git a/tests/test_autoescape/code.php b/tests/test_autoescape/code.php index 9f73700..f88d229 100644 --- a/tests/test_autoescape/code.php +++ b/tests/test_autoescape/code.php @@ -8,7 +8,7 @@ $ste_initializer = function($sa) { function test_func($ste) { $ste->vars['test'] = 'foo"&'; - + $ste->register_tag('echoarg', function ($ste, $params, $sub) { return $params['echo']; }); diff --git a/tests/test_blocks/code.php b/tests/test_blocks/code.php index de8c553..2e68d2d 100644 --- a/tests/test_blocks/code.php +++ b/tests/test_blocks/code.php @@ -1,5 +1,5 @@