Skip to content

Commit

Permalink
fix typo (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
lancoLiu authored Jul 5, 2021
1 parent 007a55e commit 42e70dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buffer/buffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestBufferWrites(t *testing.T) {
{"AppendUint", func() { buf.AppendUint(42) }, "42"},
{"AppendBool", func() { buf.AppendBool(true) }, "true"},
{"AppendFloat64", func() { buf.AppendFloat(3.14, 64) }, "3.14"},
// Intenationally introduce some floating-point error.
// Intentionally introduce some floating-point error.
{"AppendFloat32", func() { buf.AppendFloat(float64(float32(3.14)), 32) }, "3.14"},
{"AppendWrite", func() { buf.Write([]byte("foo")) }, "foo"},
{"AppendTime", func() { buf.AppendTime(time.Date(2000, 1, 2, 3, 4, 5, 6, time.UTC), time.RFC3339) }, "2000-01-02T03:04:05Z"},
Expand Down
2 changes: 1 addition & 1 deletion zapcore/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type errorGroup interface {
Errors() []error
}

// Note that errArry and errArrayElem are very similar to the version
// Note that errArray and errArrayElem are very similar to the version
// implemented in the top-level error.go file. We can't re-use this because
// that would require exporting errArray as part of the zapcore API.

Expand Down
2 changes: 1 addition & 1 deletion zapio/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type Writer struct {

// Log level for the messages written to the provided logger.
//
// If unspecifies, defaults to Info.
// If unspecified, defaults to Info.
Level zapcore.Level

buff bytes.Buffer
Expand Down

0 comments on commit 42e70dd

Please sign in to comment.