Skip to content

Commit

Permalink
Fix Typos + Spell Check CI (#222)
Browse files Browse the repository at this point in the history
* Add spellcheck CI job and fix existing typos
* Add spec to bug caused by typo
  • Loading branch information
Blacksmoke16 authored Nov 12, 2022
1 parent 0772d51 commit 798b859
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spec/exclusion_strategies/custom_strategy_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ private struct ActivePropertyExclusionStrategy
end
end

# Mainly testing `Athena::Config` integration in regards to custom annotations accessable via the property metadata.
# Mainly testing `Athena::Config` integration in regards to custom annotations accessible via the property metadata.
describe ActivePropertyExclusionStrategy do
describe "#skip_property?" do
describe :deserialization do
Expand Down
8 changes: 4 additions & 4 deletions src/annotations.cr
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,12 @@ module Athena::Serializer::Annotations
# property last_name : String = "Snow"
#
# @[ASRA::PreSerialize]
# private def pre_ser : Nil
# private def pre_serialize : Nil
# @name = "#{first_name} #{last_name}"
# end
#
# @[ASRA::PostSerialize]
# private def post_ser : Nil
# private def post_serialize : Nil
# @name = nil
# end
# end
Expand All @@ -466,12 +466,12 @@ module Athena::Serializer::Annotations
# property last_name : String = "Snow"
#
# @[ASRA::PreSerialize]
# private def pre_ser : Nil
# private def pre_serialize : Nil
# @name = "#{first_name} #{last_name}"
# end
#
# @[ASRA::PostSerialize]
# private def post_ser : Nil
# private def post_serialize : Nil
# @name = nil
# end
# end
Expand Down

0 comments on commit 798b859

Please sign in to comment.