mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Should be ExpectedType instead of ActualType
This commit is contained in:
parent
b93ef1fd2d
commit
f7d5c27e65
1 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ module Spectator::Matchers
|
|||
# ```
|
||||
# expect(0).to be < 1
|
||||
# ```
|
||||
def <(other : ActualType) forall ActualType
|
||||
def <(other : ExpectedType) forall ExpectedType
|
||||
raise NotImplementedError.new("be <")
|
||||
end
|
||||
|
||||
|
@ -19,7 +19,7 @@ module Spectator::Matchers
|
|||
# ```
|
||||
# expect(0).to be <= 1
|
||||
# ```
|
||||
def <=(other : ActualType) forall ActualType
|
||||
def <=(other : ExpectedType) forall ExpectedType
|
||||
raise NotImplementedError.new("be <=")
|
||||
end
|
||||
|
||||
|
@ -28,7 +28,7 @@ module Spectator::Matchers
|
|||
# ```
|
||||
# expect(2).to be > 1
|
||||
# ```
|
||||
def >(other : ActualType) forall ActualType
|
||||
def >(other : ExpectedType) forall ExpectedType
|
||||
raise NotImplementedError.new("be >")
|
||||
end
|
||||
|
||||
|
@ -37,7 +37,7 @@ module Spectator::Matchers
|
|||
# ```
|
||||
# expect(2).to be >= 1
|
||||
# ```
|
||||
def >=(other : ActualType) forall ActualType
|
||||
def >=(other : ExpectedType) forall ExpectedType
|
||||
raise NotImplementedError.new("be >=")
|
||||
end
|
||||
|
||||
|
@ -46,7 +46,7 @@ module Spectator::Matchers
|
|||
# ```
|
||||
# expect(0).to be == 0
|
||||
# ```
|
||||
def ==(other : ActualType) forall ActualType
|
||||
def ==(other : ExpectedType) forall ExpectedType
|
||||
raise NotImplementedError.new("be ==")
|
||||
end
|
||||
|
||||
|
@ -55,7 +55,7 @@ module Spectator::Matchers
|
|||
# ```
|
||||
# expect(0).to be != 1
|
||||
# ```
|
||||
def !=(other : ActualType) forall ActualType
|
||||
def !=(other : ExpectedType) forall ExpectedType
|
||||
raise NotImplementedError.new("be !=")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue