From 3b1db7b7723189d43f606b9b3ff13abaa97731b1 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Fri, 11 Jun 2021 18:30:12 -0600 Subject: [PATCH] Pass along pending tag value if available --- src/spectator/example.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectator/example.cr b/src/spectator/example.cr index 7d9fbd1..e59c328 100644 --- a/src/spectator/example.cr +++ b/src/spectator/example.cr @@ -89,7 +89,7 @@ module Spectator if pending? Log.debug { "Skipping example #{self} - marked pending" } @finished = true - return @result = PendingResult.new + return @result = PendingResult.new(Time::Span::ZERO, tags[:pending] || "No reason given") end previous_example = @@current