aboutsummaryrefslogtreecommitdiffstats
path: root/ccl_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ccl_test.go')
-rw-r--r--ccl_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccl_test.go b/ccl_test.go
index 53b2a24..fa51ab1 100644
--- a/ccl_test.go
+++ b/ccl_test.go
@@ -684,7 +684,7 @@ func BenchmarkLex(b *testing.B) {
repeated: [5, 6]
`)
for b.Loop() {
- l := newLexer(msg)
+ l := &lexer{data: msg}
for {
_, err := l.next()
if err != nil {