Correct spelling error (in 3 places): "unkown" -> "unknown"
authorMarc Abramowitz <marc@marc-abramowitz.com>
Wed, 23 Feb 2011 22:58:01 +0000 (14:58 -0800)
committerFabien Potencier <fabien.potencier@gmail.com>
Mon, 21 Mar 2011 18:07:25 +0000 (19:07 +0100)
test/Twig/Tests/TemplateTest.php

index c99a1e1..5e90ba8 100644 (file)
@@ -10,7 +10,7 @@
  */
 class Twig_Tests_TemplateTest extends PHPUnit_Framework_TestCase
 {
-    public function getUnkownPropertyOnArrayTests()
+    public function getUnknownPropertyOnArrayTests()
     {
         $tests = array(
             array(array('foo' => 'foo', 'bar' => 'value')),
@@ -21,10 +21,10 @@ class Twig_Tests_TemplateTest extends PHPUnit_Framework_TestCase
     }
 
     /**
-     * @dataProvider getUnkownPropertyOnArrayTests
+     * @dataProvider getUnknownPropertyOnArrayTests
      * @expectedException Twig_Error_Runtime
      */
-    public function testUnkownPropertyOnArray($array)
+    public function testUnknownPropertyOnArray($array)
     {
         $env = new Twig_Environment(null, array('strict_variables' => true));
         $template = new Twig_TemplateTest($env);