[perl-Glib-Object-Introspection] Add a flags test



commit ce5b2aed80bb806b42e704a36ffb31a5cc0cc26b
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Tue Aug 9 14:15:25 2011 +0200

    Add a flags test

 t/enums.t |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/t/enums.t b/t/enums.t
index 0654a0e..0ad73e9 100644
--- a/t/enums.t
+++ b/t/enums.t
@@ -5,7 +5,8 @@ BEGIN { require './t/inc/setup.pl' };
 use strict;
 use warnings;
 
-plan tests => 2;
+plan tests => 3;
 
 is (test_enum_param ('value1'), 'value1');
 is (test_unsigned_enum_param ('value2'), 'value2');
+is (global_get_flags_out (), ['flag1', 'flag3']);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]