summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-11 17:35:11 +0200
committerMichael Adam <obnox@samba.org>2012-06-12 07:21:41 +0200
commitd93d04124cedb6a15a132c922885f9c8d41aee96 (patch)
treebe14ecca7006a563d83c278d994bb31fc2e4f611 /pidl
parent89f95c00275dbe21fb5f3f0f8f5c4543b119c4f9 (diff)
downloadsamba-d93d04124cedb6a15a132c922885f9c8d41aee96.tar.gz
samba-d93d04124cedb6a15a132c922885f9c8d41aee96.tar.bz2
samba-d93d04124cedb6a15a132c922885f9c8d41aee96.zip
pidl/tests: fix use of a non-existent word (existant)
Diffstat (limited to 'pidl')
-rwxr-xr-xpidl/tests/typelist.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pidl/tests/typelist.pl b/pidl/tests/typelist.pl
index e99b016487..681c0eacfd 100755
--- a/pidl/tests/typelist.pl
+++ b/pidl/tests/typelist.pl
@@ -52,14 +52,14 @@ is(1, typeIs("uint32", "SCALAR"));
is(0, typeIs("uint32", "ENUM"));
is(1, hasType("foo"));
-is(0, hasType("nonexistant"));
+is(0, hasType("nonexistent"));
is(0, hasType({TYPE => "ENUM", NAME => "someUnknownType"}));
is(1, hasType({TYPE => "ENUM", NAME => "foo"}));
is(1, hasType({TYPE => "ENUM"}));
is(1, hasType({TYPE => "STRUCT"}));
is(1, is_scalar("uint32"));
-is(0, is_scalar("nonexistant"));
+is(0, is_scalar("nonexistent"));
is(1, is_scalar({TYPE => "ENUM"}));
is(0, is_scalar({TYPE => "STRUCT"}));
is(1, is_scalar({TYPE => "TYPEDEF", DATA => {TYPE => "ENUM" }}));