]> Cypherpunks repositories - gostls13.git/commitdiff
go/scanner: fix a typo in scanner_test.go
authorRob Findley <rfindley@google.com>
Wed, 7 Apr 2021 21:18:17 +0000 (17:18 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 16 Apr 2021 21:19:53 +0000 (21:19 +0000)
Change-Id: I99f07328da3dd99d34b8da5f913c98206b4dc76a
Reviewed-on: https://go-review.googlesource.com/c/go/+/308609
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/scanner/scanner_test.go

index ab4c2dd96233b965eda231ae56e190ea18f88b2a..db095b3da630e4ff62465e222b0d341361a07408 100644 (file)
@@ -628,7 +628,7 @@ func TestInvalidLineDirectives(t *testing.T) {
        }
 
        if S.ErrorCount != len(invalidSegments) {
-               t.Errorf("go %d errors; want %d", S.ErrorCount, len(invalidSegments))
+               t.Errorf("got %d errors; want %d", S.ErrorCount, len(invalidSegments))
        }
 }