Passed
Push — master ( d2e487...b38026 )
by Tobias
05:31
created

NormalizingNodeVisitorTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 7
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testBinaryConcatOfConstants() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the PHP Translation package.
5
 *
6
 * (c) PHP Translation team <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Translation\Bundle\Tests\Unit\Twig;
13
14
/**
15
 * @author Johannes M. Schmitt <[email protected]>
16
 */
17
class NormalizingNodeVisitorTest extends BaseTwigTestCase
18
{
19
    public function testBinaryConcatOfConstants(): void
20
    {
21
        $this->assertEquals(
22
            $this->parse('binary_concat_of_constants_compiled.html.twig'),
23
            $this->parse('binary_concat_of_constants.html.twig')
24
        );
25
    }
26
}
27