[libchamplain: 25/39] Update a comment



commit ae305b5258e76fa88ca934c142b0fcd21905ab29
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Fri Sep 18 09:56:03 2009 +0200

    Update a comment

 bindings/perl/Champlain/t/ChamplainView.t |    5 +++--
 1 files 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()");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]