Skip to content

Commit

Permalink
Merge f6e02ab into 3faa439
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy committed Jan 17, 2020
2 parents 3faa439 + f6e02ab commit 127b5a8
Show file tree
Hide file tree
Showing 23 changed files with 18 additions and 28 deletions.
2 changes: 1 addition & 1 deletion build/gen_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ public function testOn_{$method->name}() {
die("Can not generate tests into file $fn !!\n");
}
}
?>

1 change: 0 additions & 1 deletion tests/CompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,3 @@ public function testOn_addUsageCount() {
))));
}
}
?>
2 changes: 1 addition & 1 deletion tests/ContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ public function testOn_updateHelperTable() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/EncoderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ public function testOn_encq() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/ExporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public function testOn_closure() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/ExpressionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ public function testOn_toString() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/LightnCandyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ public function testOn_handleError() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,4 @@ public function testOn_analyze() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/PartialTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public function testOn_prePartial() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/RuntimeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,4 +234,4 @@ public function testOn_wi() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/SafeStringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ public function testOn_escapeTemplate() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/TokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public function testOn_toString() {
))));
}
}
?>

2 changes: 1 addition & 1 deletion tests/ValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ public function testOn_operator() {
))));
}
}
?>

2 changes: 0 additions & 2 deletions tests/errorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,5 +657,3 @@ public function errorProvider()
}
}


?>
2 changes: 1 addition & 1 deletion tests/example_debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
$renderer = LightnCandy::prepare($php);
error_reporting(0);
echo $renderer(Array('name' => 'John'), array('debug' => Runtime::DEBUG_TAGS_ANSI));
?>

5 changes: 2 additions & 3 deletions tests/example_helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ function helper2 ($args, $named) {
return "<a href=\"{$u}\">{$t}</a>({$x})";
}

// Block Custom Helper Interface ...
// Block Custom Helper Interface ...
// Template: {{helper3 articles}}
function helper3 ($cx, $args, $named) {
return Array('test1', 'test2', 'test3');
}

// Block Custom Helper Interface ...
// Block Custom Helper Interface ...
// Template: {{helper3 val=values odd=enable_odd}}
function helper4 ($cx, $args, $named) {
if (isset($named['val']) && is_array($cx)) {
Expand Down Expand Up @@ -55,4 +55,3 @@ function jsraw ($i) {
return $i;
}

?>
1 change: 0 additions & 1 deletion tests/example_partials.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ function partial_name_helper ($type) {
echo $renderer($data);
echo "\n";

?>
2 changes: 1 addition & 1 deletion tests/handlebarsSpecTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,4 @@ public function jsonSpecProvider()
return $ret;
}
}
?>

2 changes: 1 addition & 1 deletion tests/helpers_for_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ function getroot ($options) {
return $options['data']['root'];
}

?>

2 changes: 0 additions & 2 deletions tests/mustacheSpecTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,3 @@ public function jsonSpecProvider()
}
}


?>
1 change: 0 additions & 1 deletion tests/regressionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2268,4 +2268,3 @@ public function issueProvider()
}
}

?>
2 changes: 1 addition & 1 deletion tests/test_util.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ function array_by_ref($array) {
}
return $ret;
}
?>

2 changes: 0 additions & 2 deletions tests/usageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,5 +313,3 @@ public function compileProvider()
}
}


?>

0 comments on commit 127b5a8

Please sign in to comment.