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

Fix regexp for filtering out non-root results being set too early #894

Merged
merged 1 commit into from Jun 21, 2020

Commits on Jun 21, 2020

  1. Fix regexp for filtering out non-root results being set too early

    If user configures a custom `SimpleCov.root`, results outside of the new
    root wouldn't be properly filtered out since the regexp for filtering
    was being set at require time, before the `SimpleCov.root` configuration
    had been applied.
    
    Instead, lazily set this regexp, so that by the time it is used, the new
    `SimpleCov.root` value is already setup.
    deivid-rodriguez committed Jun 21, 2020
    Copy the full SHA
    490da92 View commit details
    Browse the repository at this point in the history