Skip to content

Commit

Permalink
Fix typos (#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Jul 19, 2024
1 parent bd0cf04 commit 8dcd020
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
4 changes: 2 additions & 2 deletions zapcore/level_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion zapgrpc/internal/test/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8dcd020

Please sign in to comment.