diff options
Diffstat (limited to 'pidl/tests')
-rwxr-xr-x | pidl/tests/typelist.pl | 4 |
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" }})); |