From da08fe70c49501b3c603641d1131f5d01ef661c9 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 26 Oct 2010 19:49:31 +0200 Subject: [PATCH] fixed a unit test so that it works for more PHP versions --- test/Twig/Tests/Fixtures/tests/constant.test | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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-- -- 1.7.2.5