mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
14 lines
277 B
Crystal
14 lines
277 B
Crystal
require "../src/spectator"
|
|
|
|
macro it_fails(description = nil, &block)
|
|
it {{description}} do
|
|
expect do
|
|
{{block.body}}
|
|
end.to raise_error(Spectator::ExampleFailed)
|
|
end
|
|
end
|
|
|
|
macro specify_fails(description = nil, &block)
|
|
it_fails {{description}} {{block}}
|
|
end
|