From c2d74142a334e6fd1f369b6018b97bb563a660a0 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Wed, 5 Jun 2024 16:21:23 +0800 Subject: [PATCH] Fix typos (#223) Found via `codespell -L zar,delimeter,som` --- lib/money/sigils.ex | 2 +- test/money/sigils_test.exs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/money/sigils.ex b/lib/money/sigils.ex index 1783688..656ed33 100644 --- a/lib/money/sigils.ex +++ b/lib/money/sigils.ex @@ -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 diff --git a/test/money/sigils_test.exs b/test/money/sigils_test.exs index 534505e..971dc6a 100644 --- a/test/money/sigils_test.exs +++ b/test/money/sigils_test.exs @@ -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 @@ -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