summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-26 13:03:27 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-26 13:03:27 +0000
commit649a2d69cba5456d243c77abefcc644293c5d08a (patch)
tree2d72f613fa29793f48941288dfd86d2f4dc776ea
parentb53eecb41cfe1ac98c147076b9df0047426f32f2 (diff)
downloadperl-649a2d69cba5456d243c77abefcc644293c5d08a.tar.gz
Use print rather than diag(), as these routine messages shouldn't be
going to STDERR. p4raw-id: //depot/perl@32726
-rw-r--r--t/op/upgrade.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/op/upgrade.t b/t/op/upgrade.t
index 787d413f92..5f2ffa6299 100644
--- a/t/op/upgrade.t
+++ b/t/op/upgrade.t
@@ -41,7 +41,9 @@ foreach my $source_type (@keys) {
my $vars = {};
$vars->{dest} = $types{$dest_type};
$vars->{source} = $types{$source_type};
- diag "Assigning $source_type to $dest_type";
+ # The assignment can potentially trigger assertion failures, so it's
+ # useful to have the diagnostics about what was attempted printed first
+ print "# Assigning $source_type to $dest_type\n";
$vars->{dest} = $vars->{source};
is ($vars->{dest}, $vars->{source});
}