summaryrefslogtreecommitdiff
path: root/test/errchk
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-01-31 18:36:28 -0500
committerRuss Cox <rsc@golang.org>2011-01-31 18:36:28 -0500
commitf9f5975990179a1d9b40965dcb7f5e992fe8043c (patch)
tree1c2455376a52b1520a6dd4eb45ac2e5dd34b3b6e /test/errchk
parent95fa0b246b3c7b0a57ef0ba20cca22b500ed3ade (diff)
downloadgo-f9f5975990179a1d9b40965dcb7f5e992fe8043c.tar.gz
replace non-blocking send, receive syntax with select
R=golang-dev, nigeltao, niemeyer, r CC=golang-dev http://codereview.appspot.com/4079053
Diffstat (limited to 'test/errchk')
-rwxr-xr-xtest/errchk1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/errchk b/test/errchk
index b0edd7a6b..fbb021ce4 100755
--- a/test/errchk
+++ b/test/errchk
@@ -73,6 +73,7 @@ sub chk {
my @match;
foreach my $src (@{$src{$file}}) {
$line++;
+ next if $src =~ m|////|; # double comment disables ERROR
next unless $src =~ m|// (GC_)?ERROR (.*)|;
$regexp = $2;
if($regexp !~ /^"([^"]*)"/) {