Skip to content

Commit

Permalink
Merge pull request #13 from muktihari/dev
Browse files Browse the repository at this point in the history
Close #12
  • Loading branch information
muktihari authored Oct 2, 2020
2 parents fabd084 + 7ee49f5 commit ee87e96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions boolean/boolean.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ var ErrUnsupportedOperator = errors.New("unsupported operator")
// ErrInvalidOperationOnFloat is error invalid operation on float
var ErrInvalidOperationOnFloat = errors.New("invalid operation on float")

// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be devided by zero
var ErrIntegerDividedByZero = errors.New("integer divide by zero")
// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be divided by zero
var ErrIntegerDividedByZero = errors.New("integer divided by zero")

// Visitor is boolean visitor interface
type Visitor interface {
Expand Down
4 changes: 2 additions & 2 deletions integer/integer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
// ErrUnsupportedOperator is error unsupported operator
var ErrUnsupportedOperator = errors.New("unsupported operator")

// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be devided by zero
var ErrIntegerDividedByZero = errors.New("integer divide by zero")
// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be divided by zero
var ErrIntegerDividedByZero = errors.New("integer divided by zero")

// Visitor is integer visitor interface
type Visitor interface {
Expand Down

0 comments on commit ee87e96

Please sign in to comment.