Skip to content

Commit

Permalink
Merge pull request #504 from ferhatelmas/typo-fixes
Browse files Browse the repository at this point in the history
Fix various typos in comments
  • Loading branch information
brandur-stripe authored Dec 24, 2017
2 parents 96681be + 3cfa41c commit 99f936b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion order.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ type OrderListParams struct {
Status OrderStatus `form:"status"`
}

// StatsuTransitions are the timestamps at which the order status was updated
// StatusTransitions are the timestamps at which the order status was updated
// https://stripe.com/docs/api#order_object
type StatusTransitions struct {
Canceled int64 `json:"canceled"`
Expand Down
2 changes: 1 addition & 1 deletion source.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
SourceStatusCanceled SourceStatus = "canceled"

// SourceStatusChargeable the source is ready to be charged (once if usage
// is `single_use`, repeatidly otherwise).
// is `single_use`, repeatedly otherwise).
SourceStatusChargeable SourceStatus = "chargeable"

// SourceStatusConsumed the source is `single_use` usage and has been
Expand Down
2 changes: 1 addition & 1 deletion stripe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func TestResponseToError(t *testing.T) {
}

// An error that contains expected fields which we're going to serialize to
// JSON and inject into our converstion function.
// JSON and inject into our conversion function.
expectedErr := &stripe.Error{
Code: stripe.Missing,
Msg: "That card was declined",
Expand Down
2 changes: 1 addition & 1 deletion testing/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// package, but should be used as appropriate for any new changes.

const (
// MockMinimumVersion is the minimum acceptible version for stripe-mock.
// MockMinimumVersion is the minimum acceptable version for stripe-mock.
// It's here so that if the library depends on new endpoints or features
// added in a more recent version of stripe-mock, we can show people a
// better error message instead of the test suite crashing with a bunch of
Expand Down

0 comments on commit 99f936b

Please sign in to comment.