You are here

public function Twig_Tests_FileExtensionEscapingStrategyTest::testGuess in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/test/Twig/Tests/FileExtensionEscapingStrategyTest.php \Twig_Tests_FileExtensionEscapingStrategyTest::testGuess()

@dataProvider getGuessData

File

vendor/twig/twig/test/Twig/Tests/FileExtensionEscapingStrategyTest.php, line 17

Class

Twig_Tests_FileExtensionEscapingStrategyTest

Code

public function testGuess($strategy, $filename) {
  $this
    ->assertSame($strategy, Twig_FileExtensionEscapingStrategy::guess($filename));
}