Skip to content

Commit a7dffa2

Browse files
author
Steve Hill
committed
Add a newline after the progress display
1 parent 45f382f commit a7dffa2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/rspec_github_actions_formatter.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require "rspec/core/formatters/progress_formatter"
22

33
class RspecGithubActionsFormatter < RSpec::Core::Formatters::ProgressFormatter
4-
VERSION = "0.1.0"
4+
VERSION = "0.1.1"
55

66
RSpec::Core::Formatters.register self, :dump_pending, :dump_failures, :example_passed, :example_pending, :example_failed, :example_started, :start
77

@@ -54,6 +54,7 @@ def dump_failures(notification)
5454
def split_progress_into_lines(_notification)
5555
if @examples_executed % @tests_per_line == 0 || @examples_executed == @example_count
5656
output.print progress_display(@examples_executed, @example_count)
57+
output.print "\n"
5758
end
5859
end
5960

rspec-github-actions-formatter.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |spec|
22
spec.name = "rspec-github-actions-formatter"
3-
spec.version = "0.1.0"
3+
spec.version = "0.1.1"
44
spec.authors = ["Steve Hill"]
55
spec.email = ["steve@stevehill.xyz"]
66

0 commit comments

Comments
 (0)