mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Missed one
This commit is contained in:
parent
007c0c7950
commit
2da1f9dbbf
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ module Spectator::DSL
|
|||
# expect_raises(KeyError) { hash["baz"] }.to raise_error(KeyError)
|
||||
# ```
|
||||
macro expect_raises(type)
|
||||
expect {{yield}}.to raise_error(type)
|
||||
expect {{yield}}.to raise_error({{type}})
|
||||
end
|
||||
|
||||
# Indicates that some block should raise an error with a given message and type.
|
||||
|
|
Loading…
Reference in a new issue