From 84ac7d755bc8e0bbf74d651e68337d888f35e377 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Mon, 11 May 2009 13:52:28 +0200 Subject: [PATCH] Fix the check for the default height --- bindings/perl/Champlain/t/ChamplainView.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/perl/Champlain/t/ChamplainView.t b/bindings/perl/Champlain/t/ChamplainView.t index 4364bb4..465c7cd 100644 --- a/bindings/perl/Champlain/t/ChamplainView.t +++ b/bindings/perl/Champlain/t/ChamplainView.t @@ -50,7 +50,7 @@ sub test_generic { # my $source_original = $view->get('map-source'); ok($view->get('width') == 0 || $view->get('width') == $source_original->get_tile_size, "original width"); - ok($view->get('height') || $view->get('height') == $source_original->get_tile_size, "original height"); + ok($view->get('height') == 0 || $view->get('height') == $source_original->get_tile_size, "original height"); # set_size() can be tested by checking the properties width and height $view->set_size(600, 400); -- 2.39.5