From ae305b5258e76fa88ca934c142b0fcd21905ab29 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Fri, 18 Sep 2009 09:56:03 +0200 Subject: [PATCH] Update a comment --- bindings/perl/Champlain/t/ChamplainView.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings/perl/Champlain/t/ChamplainView.t b/bindings/perl/Champlain/t/ChamplainView.t index d99c9c1..1f9fc53 100644 --- a/bindings/perl/Champlain/t/ChamplainView.t +++ b/bindings/perl/Champlain/t/ChamplainView.t @@ -68,8 +68,9 @@ sub test_generic { my $factory = Champlain::MapSourceFactory->dup_default(); my $source_new = $factory->create(Champlain::MapSourceFactory->OSM_MAPNIK); if ($source_original->get_id eq $source_new->get_id) { - # Same kind of map source, take another one - $source_new = $factory->create(Champlain::MapSourceFactory->OAM); + # The new map source is the same as the original! Take another map + # source instead + $source_new = $factory->create(Champlain::MapSourceFactory->OSM_OSMARENDER); } $view->set_map_source($source_new); is($view->get('map-source'), $source_new, "set_map_source()"); -- 2.39.5