mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix '~=' operator
This commit is contained in:
@ -1170,6 +1170,7 @@ class TemplateTest extends TestCase
|
||||
array('{"string" ~ ++$one ~ "end"}', "string2end"),
|
||||
array('{"string" ~ "one" ~ "end"}', "stringoneend"),
|
||||
array('{"string" ~ 1 ~ "end"}', "string1end"),
|
||||
array('{$one ~= "string"} is {$one}', "1string is 1string"),
|
||||
);
|
||||
}
|
||||
|
||||
@ -1536,6 +1537,7 @@ class TemplateTest extends TestCase
|
||||
|
||||
/**
|
||||
* @dataProvider providerConcat
|
||||
* @group testConcat
|
||||
*/
|
||||
public function testConcat($code, $result)
|
||||
{
|
||||
|
Reference in New Issue
Block a user