Change "ditto" to ":ditto:"

This commit is contained in:
Michael Miller 2020-08-06 19:20:18 -06:00
parent 3e3be77d30
commit 9c14c69bba
No known key found for this signature in database
GPG key ID: F9A0C5C65B162436
4 changed files with 6 additions and 6 deletions

View file

@ -45,7 +45,7 @@ module Spectator
end end
end end
# ditto # :ditto:
macro context(description, &block) macro context(description, &block)
describe({{description}}) {{block}} describe({{description}}) {{block}}
end end

View file

@ -207,7 +207,7 @@ module Spectator
raise ExampleFailed.new(reason) raise ExampleFailed.new(reason)
end end
# ditto # :ditto:
@[AlwaysInline] @[AlwaysInline]
def fail def fail
fail("Example failed") fail("Example failed")

View file

@ -518,7 +518,7 @@ module Spectator
::Spectator::Matchers::HaveKeyMatcher.new(%test_value) ::Spectator::Matchers::HaveKeyMatcher.new(%test_value)
end end
# ditto # :ditto:
macro has_key(expected) macro has_key(expected)
have_key({{expected}}) have_key({{expected}})
end end
@ -536,7 +536,7 @@ module Spectator
::Spectator::Matchers::HaveValueMatcher.new(%test_value) ::Spectator::Matchers::HaveValueMatcher.new(%test_value)
end end
# ditto # :ditto:
macro has_value(expected) macro has_value(expected)
have_value({{expected}}) have_value({{expected}})
end end

View file

@ -52,7 +52,7 @@ module Spectator::Expectations
stubs.each { |stub| to_not(stub) } stubs.each { |stub| to_not(stub) }
end end
# ditto # :ditto:
@[AlwaysInline] @[AlwaysInline]
def not_to(matcher) : Nil def not_to(matcher) : Nil
to_not(matcher) to_not(matcher)
@ -86,7 +86,7 @@ module Spectator::Expectations
to_not(stub) to_not(stub)
end end
# ditto # :ditto:
@[AlwaysInline] @[AlwaysInline]
def never_to(matcher) : Nil def never_to(matcher) : Nil
to_never(matcher) to_never(matcher)