From 8dcd0205a07f7ce959149aaf9152569d040a2f59 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Sat, 20 Jul 2024 00:50:37 +0200 Subject: [PATCH] Fix typos (#1451) --- CODE_OF_CONDUCT.md | 4 ++-- zapcore/level_test.go | 4 ++-- zapgrpc/internal/test/grpc.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index e327d9aa5..bc988b72e 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -71,5 +71,5 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]. -[homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/4/ +[homepage]: https://contributor-covenant.org +[version]: https://contributor-covenant.org/version/1/4/ diff --git a/zapcore/level_test.go b/zapcore/level_test.go index 6e88f7781..d0beadcfe 100644 --- a/zapcore/level_test.go +++ b/zapcore/level_test.go @@ -77,8 +77,8 @@ func TestLevelText(t *testing.T) { } // Some logging libraries are using "warning" instead of "warn" as level indicator. Handle this case - // for cross compatability. - t.Run("unmarshal warning compatability", func(t *testing.T) { + // for cross compatibility. + t.Run("unmarshal warning compatibility", func(t *testing.T) { var unmarshaled Level input := []byte("warning") err := unmarshaled.UnmarshalText(input) diff --git a/zapgrpc/internal/test/grpc.go b/zapgrpc/internal/test/grpc.go index 0b059380b..f362bb6b8 100644 --- a/zapgrpc/internal/test/grpc.go +++ b/zapgrpc/internal/test/grpc.go @@ -18,7 +18,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -// Package grpc tests Zap's zapgrpc package without requring a dependency on +// Package grpc tests Zap's zapgrpc package without requiring a dependency on // grpc from Zap itself. package grpc