"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/01-sanity/20-defined.t" between
rakudo-2020.08.2.tar.gz and rakudo-2020.09.tar.gz

About: Rakudo is a compiler for the Perl 6 programming language.

20-defined.t  (rakudo-2020.08.2):20-defined.t  (rakudo-2020.09)
use v6; use v6;
say "1..3"; say "1..3";
my $var; my $var;
if defined $var { say "not ok 1" } else { say "ok 1" } if defined $var { say "not ok 1" } else { say "ok 1" }
$var = "Pugs"; $var = "Pugs";
if defined $var { say "ok 2" } else { say "not ok 2" } if defined $var { say "ok 2" } else { say "not ok 2" }
undefine( $var); $var = Nil;
if defined $var { say "not ok 3 - $var" } else { say "ok 3" } if defined $var { say "not ok 3 - $var" } else { say "ok 3" }
# vim: expandtab shiftwidth=4 # vim: expandtab shiftwidth=4
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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