Skip to content

Commit 03787c1

Browse files
committed
Fix remaining typos (sic!)
1 parent 669e6ba commit 03787c1

File tree

8 files changed

+6
-6
lines changed

8 files changed

+6
-6
lines changed

core/tests/tests/SearchParams.mint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ suite "SearchParams.get" {
1919
|> SearchParams.get("a")) == Maybe.just("b")
2020
}
2121

22-
test "returns nothig if key does not exists" {
22+
test "returns nothing if key does not exists" {
2323
("a=b&c=d"
2424
|> SearchParams.fromString()
2525
|> SearchParams.get("x")) == Maybe.nothing()

core/tests/tests/Set.mint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ suite "Set.has" {
3737
|> Set.has(Maybe.just("value"))) == true
3838
}
3939

40-
test "it returns false if the itme does not exists in the set" {
40+
test "it returns false if the item does not exists in the set" {
4141
(Set.empty()
4242
|> Set.has("x")) == false
4343
}

src/installer.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Mint
1010
@dependencies =
1111
{} of Package => Hash(String, Constraint)
1212

13-
# This holds the elimiated packages, which package elminiated it
13+
# This holds the eliminated packages, which package elminiated it
1414
# and with which constraint
1515
@eliminated =
1616
[] of Tuple(Package, Package, Constraint, String)

src/parsers/html_attribute.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Mint
22
class Parser
33
def html_attribute(with_dashes : Bool = true) : Ast::HtmlAttribute?
44
parse do |start_position|
5-
# Dash (-) is maily for data attributes (data-value), colon (`:`) is
5+
# Dash (-) is mainly for data attributes (data-value), colon (`:`) is
66
# for namespaces (xlink:actuate) and we only parse them for HTML
77
# attributes not component attributes (`with_dashes`).
88
name = variable track: false, extra_chars: with_dashes ? ['-', ':'] : [] of Char

src/references_tracker.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mint
77
# bundles to construct. To do that we track back each node to it's root
88
# node(s) through the links.
99
#
10-
# Asnyc components and deferred code got their on bundles
10+
# Async components and deferred code got their on bundles
1111
# and any other code which is referenced from multiple sources will
1212
# get their own bundle.
1313
class ReferencesTracker

src/type_checkers/decode.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module Mint
4545
if definition = ast.type_definitions.find(&.name.value.==(type.name))
4646
case definition.fields
4747
in Array(Ast::TypeDefinitionField)
48-
unreachable! "Tried to check if type #{type.to_mint} is decodeable!"
48+
unreachable! "Tried to check if type #{type.to_mint} is decodable!"
4949
in Array(Ast::TypeVariant)
5050
definition_type =
5151
resolve(definition)

0 commit comments

Comments
 (0)