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

test: add common.mustSucceed #35086

Closed
wants to merge 9 commits into from
Closed

Commits on Oct 13, 2020

  1. test: add common.mustSucceed

    tniessen committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    ce9389a View commit details
    Browse the repository at this point in the history
  2. test: convert to mustSucceed

    Replaced the following pattern with "mustSucceed()":
    
    mustCall\([ \n]*(\(erro?r?\)[ \n]*=>[ \n]*\{?|function[ \n]*\(erro?r?\)[ \n]*\{)?[ \n]*assert\.ifError(\(erro?r?\))?;?[ \n]*\}?[ \n]*\)
    tniessen committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    9c54c6b View commit details
    Browse the repository at this point in the history
  3. test: convert to mustSucceed

    Replaced the following pattern with "mustSucceed(($2)$3=>$4{\n":
    
    mustCall\([\n ]*\(erro?r?(,[\n ]*([^\)]*))?\)([\n ]*)=>([\n ]*)\{[\n ]+assert\.ifError\(erro?r?\);\n
    tniessen committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    97b15e9 View commit details
    Browse the repository at this point in the history
  4. test: convert to mustSucceed

    Replaced the following pattern with "mustSucceed(function($2)$3{\n":
    
    mustCall\([\n ]*function[ \n]*\(erro?r?(, *([^\)]*))?\)([ \t\n]*)\{[\n ]+assert\.ifError\(erro?r?\);\n
    tniessen committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    4e7fbd8 View commit details
    Browse the repository at this point in the history
  5. test: convert to mustSucceed

    Convert statements of the form assert(!err) to mustSucceed.
    tniessen committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    ea01060 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4b8676e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    476d930 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c275bf0 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. Configuration menu
    Copy the full SHA
    e43195b View commit details
    Browse the repository at this point in the history