diff --git a/bin/annotate_test_failures b/bin/annotate_test_failures index 66159e93..26234baf 100755 --- a/bin/annotate_test_failures +++ b/bin/annotate_test_failures @@ -70,7 +70,7 @@ class TestFailure times = @count > 1 ? " (#{@count} times)" : '' # Do not render a code block for the failure details if there are none - formatted_details = if @details.empty? || @details == '' + formatted_details = if @details.strip.empty? '' else <<~DETAILS