projects
/
p5sagit/Devel-Declare.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6c1cecd
)
The extracted string should contain the newline as well.
Florian Ragwitz [Sat, 18 Apr 2009 08:42:00 +0000 (08:42 +0000)]
t/multiline-proto.t
patch
|
blob
|
blame
|
history
diff --git
a/t/multiline-proto.t
b/t/multiline-proto.t
index
b549313
..
f6daf8a
100644
(file)
--- a/
t/multiline-proto.t
+++ b/
t/multiline-proto.t
@@
-21,4
+21,4
@@
use Devel::Declare fun => [ DECLARE_PROTO, \&handle_fun ];
my $foo = fun ($a,
$b) { "woot" };
-is($foo->(), '$a, $b: woot', 'proto declarator ok');
+is($foo->(), "\$a,\n\$b: woot", 'proto declarator ok');