diff options
author | Kevin Chabowski <kevin@kch42.de> | 2015-04-14 22:37:15 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2015-04-14 22:37:15 +0200 |
commit | b52413dbb4d8333d5fe2a351780e20b04c4525a2 (patch) | |
tree | 2f539192bb1d6e330bfb5845b72a6131cf7bcdae /tests | |
parent | 31241a2ab9c97e09ddbd4fb9e41b4e2e756d8ed4 (diff) | |
download | ste-develop.tar.gz ste-develop.tar.bz2 ste-develop.zip |
Trim whitespacedevelop
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/mktest.sh | 2 | ||||
-rw-r--r-- | tests/test.php | 4 | ||||
-rw-r--r-- | tests/test_autoescape/code.php | 2 | ||||
-rw-r--r-- | tests/test_blocks/code.php | 2 | ||||
-rw-r--r-- | tests/test_closure/code.php | 2 | ||||
-rw-r--r-- | tests/test_loop/code.php | 2 | ||||
-rw-r--r-- | tests/test_mktag/code.php | 2 | ||||
-rw-r--r-- | tests/test_pseudotags/code.php | 2 | ||||
-rw-r--r-- | tests/test_scoping/code.php | 2 | ||||
-rw-r--r-- | tests/test_short/code.php | 2 |
10 files changed, 11 insertions, 11 deletions
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 '<?php function test_func($ste) { - + }' > "$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"&<bar>'; - + $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 @@ <?php function test_func($ste) { - + } diff --git a/tests/test_closure/code.php b/tests/test_closure/code.php index de8c553..2e68d2d 100644 --- a/tests/test_closure/code.php +++ b/tests/test_closure/code.php @@ -1,5 +1,5 @@ <?php function test_func($ste) { - + } diff --git a/tests/test_loop/code.php b/tests/test_loop/code.php index de8c553..2e68d2d 100644 --- a/tests/test_loop/code.php +++ b/tests/test_loop/code.php @@ -1,5 +1,5 @@ <?php function test_func($ste) { - + } diff --git a/tests/test_mktag/code.php b/tests/test_mktag/code.php index de8c553..2e68d2d 100644 --- a/tests/test_mktag/code.php +++ b/tests/test_mktag/code.php @@ -1,5 +1,5 @@ <?php function test_func($ste) { - + } diff --git a/tests/test_pseudotags/code.php b/tests/test_pseudotags/code.php index de8c553..2e68d2d 100644 --- a/tests/test_pseudotags/code.php +++ b/tests/test_pseudotags/code.php @@ -1,5 +1,5 @@ <?php function test_func($ste) { - + } diff --git a/tests/test_scoping/code.php b/tests/test_scoping/code.php index de8c553..2e68d2d 100644 --- a/tests/test_scoping/code.php +++ b/tests/test_scoping/code.php @@ -1,5 +1,5 @@ <?php function test_func($ste) { - + } diff --git a/tests/test_short/code.php b/tests/test_short/code.php index de8c553..2e68d2d 100644 --- a/tests/test_short/code.php +++ b/tests/test_short/code.php @@ -1,5 +1,5 @@ <?php function test_func($ste) { - + } |