Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow CATCH_CONFIG_CONSOLE_WIDTH to specify a function name #2265

Open
wants to merge 3 commits into
base: v2.x
Choose a base branch
from

Conversation

nicramage
Copy link

This is a minor change that allows CATCH_CONFIG_CONSOLE_WIDTH to specify a function call in addition to a numeric constant. This allows the user to provide a function to dynamically set the console width. A typical use is to return the the column count from the terminal.

@nicramage nicramage marked this pull request as draft July 26, 2021 14:24
@nicramage nicramage changed the base branch from devel to v2.x July 26, 2021 14:25
@nicramage nicramage marked this pull request as ready for review July 26, 2021 14:25
@nicramage nicramage marked this pull request as draft July 26, 2021 16:59
@codecov
Copy link

codecov bot commented Jul 26, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d4b0b34) 90.08% compared to head (807b9ea) 90.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##             v2.x    #2265      +/-   ##
==========================================
+ Coverage   90.08%   90.09%   +0.01%     
==========================================
  Files         113      113              
  Lines        5040     5045       +5     
==========================================
+ Hits         4540     4545       +5     
  Misses        500      500              

@nicramage nicramage marked this pull request as ready for review July 27, 2021 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant