Permalink
Browse files

[t/spec] fix more smartlinks and comments

git-svn-id: http://svn.pugscode.org/pugs@29006 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 4e5f604 commit 16da25b993df8646eebe0856293fa88410538b90 moritz committed Nov 6, 2009
@@ -1,6 +1,6 @@
use v6;
-# Test the running order of closure traits
+# Test the running order of phasers
# These blocks appear in descending order
# [TODO] add tests for ENTER/LEAVE/KEEP/UNDO/PRE/POST/etc
@@ -1,6 +1,6 @@
use v6;
-# Test closure traits in eval strings
+# Test phasers in eval strings
use Test;
@@ -1,6 +1,6 @@
use v6;
-# Test closure traits interpolated in double-quoted strings
+# Test phasers interpolated in double-quoted strings
use Test;
@@ -2,7 +2,7 @@ use v6;
# [TODO] add tests for ENTER/LEAVE/KEEP/UNDO/PRE/POST/etc
-# Test multiple closure traits.
+# Test multiple phasers.
use Test;
@@ -11,14 +11,14 @@ plan 2;
# L<S04/Phasers/"occur multiple times">
# IRC log:
# [05:41] <agentzh> TimToady: S04 doesn't discuss the running order
-# of multiple closure traits (say, two END {} in
+# of multiple phasers (say, two END {} in
# the same scope), so should we assume it's the
# same as in Perl 5?
# [05:41] <TimToady> yes
my $hist;
-END { is $hist, 'B b c C I i S s end End ', 'running order of multiple closure traits' }
+END { is $hist, 'B b c C I i S s end End ', 'running order of multiple phasers' }
END { $hist ~= 'End ' }
END { $hist ~= 'end ' }
@@ -35,6 +35,6 @@ CHECK { $hist ~= 'c ' }
BEGIN { $hist ~= 'B ' }
BEGIN { $hist ~= 'b ' }
-is $hist, 'B b c C I i S s ', 'running order of multiple closure traits';
+is $hist, 'B b c C I i S s ', 'running order of multiple phasers';
# vim: ft=perl6
@@ -34,7 +34,7 @@ plan 37;
}
# state() inside coderefs
-# L<S04/Closure traits/"semantics to any initializer, so this also works">
+# L<S04/Phasers/"semantics to any initializer, so this also works">
{
my $gen = {
# Note: The following line is only executed once, because it's equivalent
@@ -1,6 +1,6 @@
use v6;
-# L<S04/Closure traits/END>
+# L<S04/Phasers/END>
use Test;
plan 1;

0 comments on commit 16da25b

Please sign in to comment.