From: Emmanuel Rodriguez Date: Sun, 14 Jun 2009 12:59:44 +0000 (+0200) Subject: Update the error message given by set_constructor() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=721350688d4af935530abe842aef3033c2cd3164;p=libchamplain Update the error message given by set_constructor() --- diff --git a/bindings/perl/Champlain/t/ChamplainMapSourceDesc.t b/bindings/perl/Champlain/t/ChamplainMapSourceDesc.t index 7040aff..d2b4820 100644 --- a/bindings/perl/Champlain/t/ChamplainMapSourceDesc.t +++ b/bindings/perl/Champlain/t/ChamplainMapSourceDesc.t @@ -73,5 +73,5 @@ sub test_get_set { # The constructor is not yet available in the perl bindings throws_ok { $oam->get_constructor } qr/\Qdesc->get_constructor() isn't implemented yet/, "get_constructor() isn't implemented"; - throws_ok { $oam->set_constructor(sub{}) } qr/\Qdesc->set_constructor(&code_ref)/, "set_constructor() isn't implemented"; + throws_ok { $oam->set_constructor(sub{}) } qr/\Qdesc->set_constructor(\&code_ref)/, "set_constructor() isn't implemented"; }