mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Formatting
This commit is contained in:
parent
46c775932a
commit
b026668de2
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ module Spectator
|
|||
|
||||
def self.create(proc : -> T, label : String) forall T
|
||||
{% if T.id == "ReturnType".id %}
|
||||
wrapper = -> { proc.call; nil }
|
||||
wrapper = ->{ proc.call; nil }
|
||||
TestBlock(Nil).new(wrapper, label)
|
||||
{% else %}
|
||||
TestBlock(T).new(proc, label)
|
||||
|
@ -31,7 +31,7 @@ module Spectator
|
|||
|
||||
def self.create(proc : -> T) forall T
|
||||
{% if T.id == "ReturnType".id %}
|
||||
wrapper = -> { proc.call; nil }
|
||||
wrapper = ->{ proc.call; nil }
|
||||
TestBlock(Nil).new(wrapper)
|
||||
{% else %}
|
||||
TestBlock(T).new(proc)
|
||||
|
|
Loading…
Reference in a new issue