aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorNaman Gera <namangera15@gmail.com>2021-04-09 03:48:14 +0000
committerEmmanuel Odeke <emmanuel@orijtech.com>2021-04-10 01:46:41 +0000
commit52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2 (patch)
treef74b0bff8523fa36dc932fd8b74450cabdd8aec9 /misc
parent554d2c4f060ec42e30970dacff1e782250169323 (diff)
downloadgo-52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2.tar.gz
go-52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2.zip
all: fix spellings
This follows the spelling choices that the Go project has made for English words. https://github.com/golang/go/wiki/Spelling Change-Id: Ie7c586d2cf23020cb492cfff58c0831d2d8d3a78 GitHub-Last-Rev: e16a32cd225a275f73d236bcb33703986d110ded GitHub-Pull-Request: golang/go#45442 Reviewed-on: https://go-review.googlesource.com/c/go/+/308291 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/cgo/test/issue6997_linux.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/cgo/test/issue6997_linux.go b/misc/cgo/test/issue6997_linux.go
index 0c98ea0794..f19afb8b7a 100644
--- a/misc/cgo/test/issue6997_linux.go
+++ b/misc/cgo/test/issue6997_linux.go
@@ -5,7 +5,7 @@
// +build !android
// Test that pthread_cancel works as expected
-// (NPTL uses SIGRTMIN to implement thread cancelation)
+// (NPTL uses SIGRTMIN to implement thread cancellation)
// See https://golang.org/issue/6997
package cgotest
@@ -17,8 +17,10 @@ extern int CancelThread();
*/
import "C"
-import "testing"
-import "time"
+import (
+ "testing"
+ "time"
+)
func test6997(t *testing.T) {
r := C.StartThread()