[perl-Gtk2] Fix a test failure in GtkBuilder.t
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk2] Fix a test failure in GtkBuilder.t
- Date: Tue, 21 Dec 2010 21:49:08 +0000 (UTC)
commit cd309bae00ad346c4c11991d73c08b011cb3752b
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]