summaryrefslogtreecommitdiff
path: root/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Delimiter/SmartyDelimiterTest.php
blob: 47304b0d03b3bf78ca260bfbbafffa66cdf5ffbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
 * Smarty PHPunit tests {$smarty.ldelim} {$smarty.rdelim}
 *

 * @author  Uwe Tews
 */

/**
 * class for {$smarty.ldelim} {$smarty.rdelim} tests
 *
 * 
 * 
 * 
 */
class SmartyDelimiterTest extends PHPUnit_Smarty
{
    public function setUp(): void
    {
        $this->setUpSmarty(__DIR__);
    }

    public function testInit()
    {
        $this->cleanDirs();
    }
    /**
     * test {$smarty.ldelim} {$smarty.rdelim}
     *
     */
    public function testSmartyDelimiter() {
        $this->assertEquals('left = { right = }', $this->smarty->fetch('delimiter.tpl'));
    }
 }