diff --git a/spew/config.go b/spew/config.go index 2e3d22f..9b8cec2 100644 --- a/spew/config.go +++ b/spew/config.go @@ -59,7 +59,7 @@ type ConfigState struct { // // NOTE: This might be an unsafe action since calling one of these methods // with a pointer receiver could technically mutate the value, however, - // in practice, types which choose to satisify an error or Stringer + // in practice, types which choose to satisfy an error or Stringer // interface with a pointer receiver should not be mutating their state // inside these interface methods. As a result, this option relies on // access to the unsafe package, so it will not have any effect when diff --git a/spew/dumpcgo_test.go b/spew/dumpcgo_test.go index 108baa5..65aefce 100644 --- a/spew/dumpcgo_test.go +++ b/spew/dumpcgo_test.go @@ -15,10 +15,11 @@ // NOTE: Due to the following build constraints, this file will only be compiled // when both cgo is supported and "-tags testcgo" is added to the go test // command line. This means the cgo tests are only added (and hence run) when -// specifially requested. This configuration is used because spew itself +// specifically requested. This configuration is used because spew itself // does not require cgo to run even though it does handle certain cgo types // specially. Rather than forcing all clients to require cgo and an external // C compiler just to run the tests, this scheme makes them optional. +//go:build cgo && testcgo // +build cgo,testcgo package spew_test