Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Feb 2, 2024
1 parent 3ec1cfe commit 2a03704
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Changelog.md
Expand Up @@ -12,8 +12,8 @@ Enhancements:
* Allow specifying custom ordering strategies via `--order`. (Jon Rowe, #3025)
* Use the improved `syntax_suggest` output for `SyntaxError` when available.
(Richard Schneeman, #3015, #3026)
* Add `full_cause_backtrace` config option to print the entire cause backtrace.
(David Taylor, #3046)
* Add config option (`RSpec::Core::Configuration#full_cause_backtrace`) to print the
entire backtrace of an exception cause. (David Taylor, #3046)

Bug fixes:

Expand Down
7 changes: 3 additions & 4 deletions lib/rspec/core/configuration.rb
Expand Up @@ -453,14 +453,13 @@ def shared_context_metadata_behavior=(value)
add_setting :threadsafe

# @macro add_setting
# Maximum count of failed source lines to display in the failure reports.
# (default `10`).
# Maximum count of failed source lines to display in the failure reports
# (defaults to `10`).
# return [Integer]
add_setting :max_displayed_failure_line_count

# @macro full_cause_backtrace
# Display the full backtrace of causing exceptions
# (default false).
# Display the full backtrace of an exceptions cause (defaults to `false`).
# return [Boolean]
add_setting :full_cause_backtrace

Expand Down

0 comments on commit 2a03704

Please sign in to comment.