From: Fabien Potencier Date: Tue, 26 Oct 2010 17:49:31 +0000 (+0200) Subject: fixed a unit test so that it works for more PHP versions X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=da08fe70c49501b3c603641d1131f5d01ef661c9;p=konrad%2Ftwig.git fixed a unit test so that it works for more PHP versions --- diff --git a/test/Twig/Tests/Fixtures/tests/constant.test b/test/Twig/Tests/Fixtures/tests/constant.test index 83d33f4..fb3d288 100644 --- a/test/Twig/Tests/Fixtures/tests/constant.test +++ b/test/Twig/Tests/Fixtures/tests/constant.test @@ -1,7 +1,7 @@ --TEST-- "const" test --TEMPLATE-- -{{ 30719 is constant('E_ALL') ? 'ok' : 'no' }} +{{ 8 is constant('E_NOTICE') ? 'ok' : 'no' }} {{ 'bar' is constant('Foo::BAR_NAME') ? 'ok' : 'no' }} {{ value is constant('Foo::BAR_NAME') ? 'ok' : 'no' }} --DATA--