[perl-Gtk2-SourceView2] Unit tests now work with Test::Simple 0.95_02.
- From: Emmanuel Rodriguez <erodriguez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk2-SourceView2] Unit tests now work with Test::Simple 0.95_02.
- Date: Thu, 27 May 2010 20:19:24 +0000 (UTC)
commit cbdfcd74b3e3626a953a79dec10944d157418381
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Thu May 27 21:24:06 2010 +0200
Unit tests now work with Test::Simple 0.95_02.
t/GtkSourceView.t | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/t/GtkSourceView.t b/t/GtkSourceView.t
index 4ed4546..6b07a92 100644
--- a/t/GtkSourceView.t
+++ b/t/GtkSourceView.t
@@ -53,7 +53,8 @@ sub test_properties {
# Draw spaces
$view->set_draw_spaces(['space', 'tab']);
- is($view->get_draw_spaces, '[ space tab ]', "draw_spaces");
+ # Test::Simple 0.95 no longer stringifies its arguments before comparing
+ is('' . $view->get_draw_spaces, '[ space tab ]', "draw_spaces");
# Mark category (pixbuf, priority, background)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]