Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Remove unused arg #2254

Merged
merged 1 commit into from
Jun 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/rspec/core/formatters/documentation_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ def example_pending(pending)
end

def example_failed(failure)
output.puts failure_output(failure.example,
failure.example.execution_result.exception)
output.puts failure_output(failure.example)
end

private
Expand All @@ -50,7 +49,7 @@ def pending_output(example, message)
:pending)
end

def failure_output(example, _exception)
def failure_output(example)
ConsoleCodes.wrap("#{current_indentation}#{example.description.strip} " \
"(FAILED - #{next_failure_index})",
:failure)
Expand Down