mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
go/scanner: fix a typo in scanner_test.go
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>
This commit is contained in:
parent
9e8a312b71
commit
b91f8a4c0b
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue