summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-05 21:26:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:03 -0500
commita95d58ae8f45089e74099f707450a73432792ed9 (patch)
tree351a0a27996406337f1023e4860c8a0b0e6c90f9 /source4
parent927e1636702351d183cd76c8ff34c82c5e80c51f (diff)
downloadsamba-a95d58ae8f45089e74099f707450a73432792ed9.tar.gz
samba-a95d58ae8f45089e74099f707450a73432792ed9.tar.bz2
samba-a95d58ae8f45089e74099f707450a73432792ed9.zip
r20571: fix '' case
(This used to be commit 1618921a7e24213d39e042a4e2f9d5cb59997f50)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/pidl/tests/util.pl4
1 files changed, 2 insertions, 2 deletions
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));