Skip to content

Commit

Permalink
report require failed omissions as error
Browse files Browse the repository at this point in the history
  • Loading branch information
naofumi-fujii committed Sep 15, 2017
1 parent 39cba59 commit 1eae28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test/unit/collector/load.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def name
exception = info[:exception]
define_method("test_require_#{normalized_path}") do
@require_failed_exception = exception
omit("failed to load: <#{path}>: <#{exception.message}>")
add_error exception
end
end

Expand Down

0 comments on commit 1eae28d

Please sign in to comment.