From 84d6abe5768b9b2c82541ed7504e30a3a192b972 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch Date: Sun, 9 Sep 2018 03:29:37 +0000 Subject: [PATCH] unix: correct misspelling in test output The TestRlimitAs function has fatal output that uses the word 'suceeded' that is a misspelling of 'succeeded'. --- unix/syscall_linux_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/syscall_linux_test.go b/unix/syscall_linux_test.go index 0f680772..b278493d 100644 --- a/unix/syscall_linux_test.go +++ b/unix/syscall_linux_test.go @@ -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)