Files
Chamilo/vendor/twig/extensions/test/Twig/Tests/Grammar/ConstantTest.php
2025-08-14 22:41:49 +02:00

20 lines
451 B
PHP

<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class Twig_Tests_Grammar_ConstantTest extends \PHPUnit\Framework\TestCase
{
public function testMagicToString()
{
$grammar = new Twig_Extensions_Grammar_Constant('foo');
$this->assertEquals('foo', (string) $grammar);
}
}