]> err.no Git - libchamplain/commitdiff
Call $view->remove_layer() in the Champlain::View test
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sat, 17 Oct 2009 17:21:11 +0000 (19:21 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 17 Oct 2009 18:14:23 +0000 (14:14 -0400)
bindings/perl/Champlain/t/ChamplainView.t

index 95bc13b8521a45474bda9843e6b69327f13a202b..bcb63c83b2eb33ef388735f9ee32d957fa6dcd2f 100644 (file)
@@ -62,6 +62,7 @@ sub test_generic {
        # Can't be tested but at least we check that it doesn't crash when invoked
        my $layer = Champlain::Layer->new();
        $view->add_layer($layer);
+       $view->remove_layer($layer);
        
        
        # Change the map source (get a different map source)