mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Change "ditto" to ":ditto:"
This commit is contained in:
parent
3e3be77d30
commit
9c14c69bba
4 changed files with 6 additions and 6 deletions
|
@ -45,7 +45,7 @@ module Spectator
|
|||
end
|
||||
end
|
||||
|
||||
# ditto
|
||||
# :ditto:
|
||||
macro context(description, &block)
|
||||
describe({{description}}) {{block}}
|
||||
end
|
||||
|
|
|
@ -207,7 +207,7 @@ module Spectator
|
|||
raise ExampleFailed.new(reason)
|
||||
end
|
||||
|
||||
# ditto
|
||||
# :ditto:
|
||||
@[AlwaysInline]
|
||||
def fail
|
||||
fail("Example failed")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue