mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
unix: correct misspelling in test output
The TestRlimitAs function has fatal output that uses the word 'suceeded' that is a misspelling of 'succeeded'.
This commit is contained in:
@@ -178,7 +178,7 @@ func TestRlimitAs(t *testing.T) {
|
||||
// should fail. See 'man 2 getrlimit'.
|
||||
_, err = unix.Mmap(-1, 0, 2*unix.Getpagesize(), unix.PROT_NONE, unix.MAP_ANON|unix.MAP_PRIVATE)
|
||||
if err == nil {
|
||||
t.Fatal("Mmap: unexpectedly suceeded after setting RLIMIT_AS")
|
||||
t.Fatal("Mmap: unexpectedly succeeded after setting RLIMIT_AS")
|
||||
}
|
||||
|
||||
err = unix.Setrlimit(unix.RLIMIT_AS, &rlim)
|
||||
|
||||
Reference in New Issue
Block a user