1
0
mirror of https://github.com/golang/go synced 2024-11-26 06:47:58 -07: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:
Rob Findley 2021-04-07 17:18:17 -04:00 committed by Robert Findley
parent 9e8a312b71
commit b91f8a4c0b

View 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))
}
}