Skip to content

Commit

Permalink
Fix typos (#223)
Browse files Browse the repository at this point in the history
Found via `codespell -L zar,delimeter,som`
  • Loading branch information
kianmeng authored Jun 5, 2024
1 parent efe86be commit c2d7414
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/money/sigils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Money.Sigils do
@doc ~S"""
Handles the sigil `~M` for Money
The lower case `~m` variant does not exist as interpolation and excape
The lower case `~m` variant does not exist as interpolation and escape
characters are not useful for Money sigils.
## Usage
Expand Down
4 changes: 2 additions & 2 deletions test/money/sigils_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Money.SigilsTest do

import Money.Sigils

# Set application setting before compilation of the followin tests
# Set application setting before compilation of the following tests
Application.put_env(:money, :default_currency, :GBP)

test "it can create a money object from a sigil" do
Expand All @@ -16,7 +16,7 @@ defmodule Money.SigilsTest do
assert ~M[1_000_00] == Money.new(100_000, :GBP)
end

# Revert the settins after compilation of the above tests
# Revert the settings after compilation of the above tests
Application.delete_env(:money, :default_currency)

test "it can create a money object from a sigil with a currency" do
Expand Down

0 comments on commit c2d7414

Please sign in to comment.