Skip to content

Commit

Permalink
Strip leading whitespace from failure locations
Browse files Browse the repository at this point in the history
  • Loading branch information
houen committed Mar 31, 2023
1 parent bb056f7 commit 04c944e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
## [0.2.1] - 2023-03-31
- Fixed: Strip leading whitespace from failure locations

## [0.2.1] - 2022-12-04
- Set dependency versions with >= so they do not enforce old versions

Expand Down
2 changes: 1 addition & 1 deletion lib/minitest_rerun_failed/failed_tests_reporter.rb
Expand Up @@ -83,7 +83,7 @@ def find_failure_location(test, curdir)
failure_file_location.gsub!(curdir, "")
failure_file_location.gsub!(%r{^/}, "")

failure_file_location
failure_file_location.to_s.strip
end

def output_results(failure_paths, file_output)
Expand Down
2 changes: 1 addition & 1 deletion lib/minitest_rerun_failed/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module MinitestRerunFailed
VERSION = "0.2.1"
VERSION = "0.2.2"
end

0 comments on commit 04c944e

Please sign in to comment.