mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 16:47:27 -04:00
all: fix some typos
Change-Id: Id4bf4ce8aee8b98baa2f1a9c62a72a9554f7d557 Reviewed-on: https://go-review.googlesource.com/c/sys/+/510595 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com>
This commit is contained in:
@@ -226,7 +226,7 @@ func TestKnownFolderPath(t *testing.T) {
|
||||
func TestRtlGetVersion(t *testing.T) {
|
||||
version := windows.RtlGetVersion()
|
||||
major, minor, build := windows.RtlGetNtVersionNumbers()
|
||||
// Go is not explictly added to the application compatibility database, so
|
||||
// Go is not explicitly added to the application compatibility database, so
|
||||
// these two functions should return the same thing.
|
||||
if version.MajorVersion != major || version.MinorVersion != minor || version.BuildNumber != build {
|
||||
t.Fatalf("%d.%d.%d != %d.%d.%d", version.MajorVersion, version.MinorVersion, version.BuildNumber, major, minor, build)
|
||||
|
||||
Reference in New Issue
Block a user