From a95d58ae8f45089e74099f707450a73432792ed9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 5 Jan 2007 21:26:28 +0000 Subject: r20571: fix '' case (This used to be commit 1618921a7e24213d39e042a4e2f9d5cb59997f50) --- source4/pidl/tests/util.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/pidl/tests') diff --git a/source4/pidl/tests/util.pl b/source4/pidl/tests/util.pl index 1dde97b192..cea59af1b6 100755 --- a/source4/pidl/tests/util.pl +++ b/source4/pidl/tests/util.pl @@ -3,7 +3,7 @@ # Published under the GNU General Public License use strict; -use Test::More tests => 55; +use Test::More tests => 56; use FindBin qw($RealBin); use lib "$RealBin"; use Util; @@ -49,7 +49,7 @@ ok(property_matches({PROPERTIES => {x => "data"}}, "x", "data")); ok(property_matches({PROPERTIES => {x => "data"}}, "x", "^([dat]+)\$")); # ParseExpr() -#is("", ParseExpr("", {})); +is(undef, ParseExpr("", {}, undef)); is("a", ParseExpr("a", {"b" => "2"}, undef)); is("2", ParseExpr("a", {"a" => "2"}, undef)); is("2 * 2", ParseExpr("a*a", {"a" => "2"}, undef)); -- cgit