mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove unnecessary cast
This commit is contained in:
parent
c4bcf54b98
commit
b8901f522a
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ module Spectator
|
||||||
|
|
||||||
begin
|
begin
|
||||||
@result = Harness.run do
|
@result = Harness.run do
|
||||||
if proc = @name_proc.as?(Proc(Example, String))
|
if proc = @name_proc
|
||||||
self.name = proc.call(self)
|
self.name = proc.call(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue