mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Skip examples marked pending
This commit is contained in:
parent
2301e44bd1
commit
3bc567da4c
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ module Spectator
|
|||
Log.debug { "Running example #{self}" }
|
||||
Log.warn { "Example #{self} already ran" } if @finished
|
||||
|
||||
if pending?
|
||||
Log.debug { "Skipping example #{self} - marked pending" }
|
||||
return @result = PendingResult.new
|
||||
end
|
||||
|
||||
previous_example = @@current
|
||||
@@current = self
|
||||
|
||||
|
|
Loading…
Reference in a new issue