Formatting

This commit is contained in:
Michael Miller 2019-08-12 14:17:23 -06:00
parent 46c775932a
commit b026668de2
1 changed files with 2 additions and 2 deletions

View File

@ -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)