[perl-Gtk2/stable-1-22] Fix a test failure in GtkBuilder.t



commit 920e8153cd56a769e347aad0c5ca572eea53c213
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Tue Dec 21 22:48:50 2010 +0100

    Fix a test failure in GtkBuilder.t

 t/GtkBuilder.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/t/GtkBuilder.t b/t/GtkBuilder.t
index 321d9c4..96f8ba5 100644
--- a/t/GtkBuilder.t
+++ b/t/GtkBuilder.t
@@ -98,7 +98,7 @@ eval {
   ok ($builder->add_from_string ($ui) > 0);
 };
 is ($@, '');
-my @objects = $builder->get_objects;
+my @objects = sort { ref $a cmp ref $b } $builder->get_objects;
 isa_ok ($objects[0], 'Gtk2::Adjustment');
 isa_ok ($objects[1], 'Gtk2::SpinButton');
 



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