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
cc09cb1b77
commit
84ac41967b
2 changed files with 5 additions and 4 deletions
|
@ -44,10 +44,10 @@ module Spectator::Formatting::Components
|
||||||
|
|
||||||
private def source_line(io)
|
private def source_line(io)
|
||||||
source = if (result = @example.result).responds_to?(:source)
|
source = if (result = @example.result).responds_to?(:source)
|
||||||
result.source
|
result.source
|
||||||
else
|
else
|
||||||
@example.location
|
@example.location
|
||||||
end
|
end
|
||||||
line(io) { io << Comment.colorize(source) }
|
line(io) { io << Comment.colorize(source) }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ module Spectator
|
||||||
|
|
||||||
false # TODO: Report real result
|
false # TODO: Report real result
|
||||||
|
|
||||||
|
|
||||||
ensure
|
ensure
|
||||||
close
|
close
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue