summaryrefslogtreecommitdiff
path: root/src/regexp/exec_test.go
diff options
context:
space:
mode:
authorDominik Honnef <dominik@honnef.co>2016-03-21 00:13:36 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2016-03-21 07:10:08 +0000
commitb2cf57104090b0cc148c0608f10f33cdfb48ec11 (patch)
treef93b22537cc79468014fa6d82ca1e4975d3a8e91 /src/regexp/exec_test.go
parent1a82946ea5a98f5e7a7ec416bc83a7cba701e9b8 (diff)
downloadgo-git-b2cf57104090b0cc148c0608f10f33cdfb48ec11.tar.gz
all: delete dead test code
This deletes unused code and helpers from tests. Change-Id: Ie31d46115f558ceb8da6efbf90c3c204e03b0d7e Reviewed-on: https://go-review.googlesource.com/20927 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/regexp/exec_test.go')
-rw-r--r--src/regexp/exec_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/regexp/exec_test.go b/src/regexp/exec_test.go
index 6ccf24e7e9..cfc1e147c1 100644
--- a/src/regexp/exec_test.go
+++ b/src/regexp/exec_test.go
@@ -675,8 +675,6 @@ const (
easy1 = "A[AB]B[BC]C[CD]D[DE]E[EF]F[FG]G[GH]H[HI]I[IJ]J$"
medium = "[XYZ]ABCDEFGHIJKLMNOPQRSTUVWXYZ$"
hard = "[ -~]*ABCDEFGHIJKLMNOPQRSTUVWXYZ$"
- parens = "([ -~])*(A)(B)(C)(D)(E)(F)(G)(H)(I)(J)(K)(L)(M)" +
- "(N)(O)(P)(Q)(R)(S)(T)(U)(V)(W)(X)(Y)(Z)$"
)
func BenchmarkMatchEasy0_32(b *testing.B) { benchmark(b, easy0, 32<<0) }