[svn:parrot] r41807 - branches/pcc_reapply/t/op

tene at svn.parrot.org tene at svn.parrot.org
Sat Oct 10 21:32:26 UTC 2009


Author: tene
Date: Sat Oct 10 21:32:25 2009
New Revision: 41807
URL: https://trac.parrot.org/parrot/changeset/41807

Log:
[pcc] Update three more error message text tests

Modified:
   branches/pcc_reapply/t/op/calling.t

Modified: branches/pcc_reapply/t/op/calling.t
==============================================================================
--- branches/pcc_reapply/t/op/calling.t	Sat Oct 10 21:21:21 2009	(r41806)
+++ branches/pcc_reapply/t/op/calling.t	Sat Oct 10 21:32:25 2009	(r41807)
@@ -1984,7 +1984,7 @@
         .param int b
 .end
 CODE
-/many named arguments/
+/too few positional/
 OUTPUT
 
 pir_output_is( <<'CODE', <<'OUTPUT', "named optional - set" );
@@ -2118,7 +2118,7 @@
 1120
 OUTPUT
 
-pir_error_output_like( <<'CODE', qr/named parameters must follow all positional parameters/, "argc mismatch - missing named" );
+pir_error_output_like( <<'CODE', qr/too few named arguments/, "argc mismatch - missing named" );
 .sub main :main
     .include "errors.pasm"
     errorson .PARROT_ERRORS_PARAM_COUNT_FLAG
@@ -2136,7 +2136,7 @@
 .end
 CODE
 
-pir_error_output_like( <<'CODE', qr/too few positional arguments/, "argc mismatch - missing named" );
+pir_error_output_like( <<'CODE', qr/too few named arguments/, "argc mismatch - missing named" );
 .sub main :main
     .include "errors.pasm"
     errorson .PARROT_ERRORS_PARAM_COUNT_FLAG


More information about the parrot-commits mailing list