Commit 6faef541 authored by Francesc Campoy's avatar Francesc Campoy Committed by Francesc Campoy Flores

golang.org/x/sys: fix typo in test

Change-Id: I5709137db7308934e627d866da1cc8aa5abca7db
Reviewed-on: https://go-review.googlesource.com/47310Reviewed-by: 's avatarRob Pike <r@golang.org>
parent 94b76065
......@@ -336,7 +336,7 @@ func testGetValue(t *testing.T, k registry.Key, test ValueTest, size int) {
// read data with short buffer
gotsize, gottype, err = k.GetValue(test.Name, make([]byte, size-1))
if err == nil {
t.Errorf("GetValue(%s, [%d]byte) should fail, but suceeded", test.Name, size-1)
t.Errorf("GetValue(%s, [%d]byte) should fail, but succeeded", test.Name, size-1)
return
}
if err != registry.ErrShortBuffer {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment