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

analyzer/testdata: use \Q regexp quoting everywhere #279

Merged
merged 1 commit into from Oct 14, 2021

Commits on Oct 14, 2021

  1. analyzer/testdata: use \Q regexp quoting everywhere

    In analysis test we're using `want` directive to match warnings.
    I personally thing that 99% of time we need a string matching,
    not a regexp matching. So this test checks that we do `\Q`
    escaping everywhere, making our patterns matching string "as is";
    so you don't have to escape `(` and `)` in the patterns.
    quasilyte committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d020369 View commit details
    Browse the repository at this point in the history