summaryrefslogtreecommitdiff
path: root/src/pkg/testing/regexp.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-12-11 16:42:14 -0800
committerRobert Griesemer <gri@golang.org>2009-12-11 16:42:14 -0800
commit736d0608c51d6f041dee88f8ae0e06acf09ce5a3 (patch)
tree6bbd54fc189b5031231fdcbfbd5695618fe68aa5 /src/pkg/testing/regexp.go
parentdacbd42e74bcd8936a0d6354d25b687fbf36cd34 (diff)
downloadgolang-736d0608c51d6f041dee88f8ae0e06acf09ce5a3.tar.gz
Various cleanups:
- no need to replace comments for stand-alone blocks - always print string concatenations with interspersed "+" (remove option) - minor cleanups R=rsc http://codereview.appspot.com/174076
Diffstat (limited to 'src/pkg/testing/regexp.go')
-rw-r--r--src/pkg/testing/regexp.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/testing/regexp.go b/src/pkg/testing/regexp.go
index 0675a4e54..3100136cd 100644
--- a/src/pkg/testing/regexp.go
+++ b/src/pkg/testing/regexp.go
@@ -76,8 +76,7 @@ type Regexp struct {
}
const (
- _START = // beginning of program
- iota;
+ _START = iota; // beginning of program
_END; // end of program: success
_BOT; // '^' beginning of text
_EOT; // '$' end of text