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
# ditto
# :ditto:
macro context(description, &block)
describe({{description}}) {{block}}
end

View file

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

View file

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

View file

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