New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qq ignoring end of line after embedding #985
Comments
From @finanalystgit log Bug (or at least inconsistent behaviour) seen in following snippet # qq with embedded perl generates: Note how 'third line' is elided onto 'second line', but 'fifth' is I suspect that in trimming white space from end of output after an Richard <finanalyst> |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-literals/string-interpolation.t commit 926a7abb36dcbcf22980188e18cb9e230eca409b [t/spec] Test for RT #65538 Inline Patchdiff --git a/t/spec/S02-literals/string-interpolation.t b/t/spec/S02-literals/string-interpolation.t
index 5b8de48..e6f0ebf 100644
--- a/t/spec/S02-literals/string-interpolation.t
+++ b/t/spec/S02-literals/string-interpolation.t
@@ -1,8 +1,6 @@
use v6;
-
use Test;
-
-plan 8;
+plan *;
# L<S02/Literals/"A bare closure also interpolates in double-quotish context.">
@@ -28,4 +26,19 @@ plan 8;
ok "{3}" ~~ Str, '"{3}" results in a Str';
}
+my $rt65538_in = qq[line { (1,2,3).min }
+line 2
+line { (1,2,3).max } etc
+line 4
+];
+my $rt65538_out = qq[line 1
+line 2
+line 3 etc
+line 4
+];
+#?rakudo todo 'RT 65538'
+is $rt65538_in, $rt65538_out, 'interpolation does not trim newlines';
+
+done_testing;
+
# vim: ft=perl6 |
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Sun May 10 05:08:25 2009, richardh wrote:
This works and the test written for it is now being run and passing; Thanks, Jonathan |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#65538 (status was 'resolved')
Searchable as RT65538$
The text was updated successfully, but these errors were encountered: