From: Emmanuel Rodriguez Date: Sat, 17 Oct 2009 17:21:11 +0000 (+0200) Subject: Call $view->remove_layer() in the Champlain::View test X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c2247508adaff9644b21c6914042ace0f583c7d;p=libchamplain Call $view->remove_layer() in the Champlain::View test --- diff --git a/bindings/perl/Champlain/t/ChamplainView.t b/bindings/perl/Champlain/t/ChamplainView.t index 95bc13b..bcb63c8 100644 --- a/bindings/perl/Champlain/t/ChamplainView.t +++ b/bindings/perl/Champlain/t/ChamplainView.t @@ -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)