Permalink
Browse files

add test for RT #78202

  • Loading branch information...
1 parent cff0104 commit e776b427d587cfc2ffb95a718cc036e026f6202c @coke coke committed Jan 15, 2014
Showing with 7 additions and 1 deletion.
  1. +7 −1 S02-literals/string-interpolation.t
@@ -1,6 +1,6 @@
use v6;
use Test;
-plan 14;
+plan 15;
# L<S02/Closures/"A bare closure also interpolates in double-quotish context.">
@@ -61,4 +61,10 @@ line 4
is ord("\a"), 7, "alarm"
}
+# RT #78202
+{
+ sub Good ($time) { "Good $time #perl6." }
+ is Good("morning"), "Good morning #perl6.", "# after an interpolated var";
+}
+
# vim: ft=perl6

0 comments on commit e776b42

Please sign in to comment.