mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Done #165
This commit is contained in:
@@ -1047,6 +1047,13 @@ class TemplateTest extends TestCase
|
||||
array('{"string" ~ "one" ~ "end"}', "stringoneend"),
|
||||
array('{"string" ~ 1 ~ "end"}', "string1end"),
|
||||
array('{$one ~= "string"} is {$one}', "1string is 1string"),
|
||||
|
||||
array('{"string" ~~ $one ~~ up("end")}', "string 1 END"),
|
||||
array('{"string" ~~ $one++ ~~ "end"}', "string 1 end"),
|
||||
array('{"string" ~~ ++$one ~~ "end"}', "string 2 end"),
|
||||
array('{"string" ~~ "one" ~~ "end"}', "string one end"),
|
||||
array('{"string" ~~ 1 ~~ "end"}', "string 1 end"),
|
||||
array('{$one ~= "string"} is {$one}', "1string is 1string"),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user