"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/02-rakudo/repl.t" between
rakudo-2020.09.tar.gz and rakudo-2020.10.tar.gz

About: Rakudo is a compiler for the Raku Pogramming Language (formerly known as Perl 6).

repl.t  (rakudo-2020.09):repl.t  (rakudo-2020.10)
use v6; use v6;
use lib <t/packages>; use lib <t/packages>;
use Test; use Test;
use Test::Helpers; use Test::Helpers;
plan 45; plan 45;
my $eof = $*DISTRO.is-win ?? "'^Z'" !! "'^D'"; my $eof = $*DISTRO.is-win ?? "'^Z'" !! "'^D'";
my $*REPL-SCRUBBER = -> $_ is copy { my $*REPL-SCRUBBER = -> $_ is copy {
$_ = .lines.skip(4).join("\n");
s/^^ "You may want to `zef install Readline` or `zef install Linenoise`" s/^^ "You may want to `zef install Readline` or `zef install Linenoise`"
" or use rlwrap for a line editor\n\n"//; " or use rlwrap for a line editor\n\n"//;
s/^^ "To exit type 'exit' or $eof\n"//; s/^^ "To exit type 'exit' or $eof\n"//;
s:g/ ^^ "> " //; # Strip out the prompts s:g/ ^^ "> " //; # Strip out the prompts
s:g/ ">" $ //; # Strip out the final prompt s:g/ ">" $ //; # Strip out the final prompt
s:g/ ^^ "* "+ //; # Strip out the continuation-prompts s:g/ ^^ "* "+ //; # Strip out the continuation-prompts
$_ $_
} }
{ {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)