]> err.no Git - libchamplain/commitdiff
Update a comment
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Fri, 18 Sep 2009 07:56:03 +0000 (09:56 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 21 Sep 2009 16:19:45 +0000 (12:19 -0400)
bindings/perl/Champlain/t/ChamplainView.t

index d99c9c19c28bdb304da90e3bb033689da6a284b0..1f9fc5305279724447e0a06df9608c0889cc0196 100644 (file)
@@ -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()");