From: Emmanuel Rodriguez Date: Fri, 18 Sep 2009 07:56:03 +0000 (+0200) Subject: Update a comment X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae305b5258e76fa88ca934c142b0fcd21905ab29;p=libchamplain Update a comment --- 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()");