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

Replace some assert_throws('Something', stuff) calls with assert_throws_dom #21392

Merged
merged 1 commit into from
Jan 23, 2020

Commits on Jan 23, 2020

  1. Replace some assert_throws('Something', stuff) calls with assert_thro…

    …ws_dom.
    
    This diff was generated by running:
    
      find . -type f -print0 | xargs -0 perl -pi -e "BEGIN { \$/ = undef; } s/assert_throws\(([ \n]*'[A-Za-z_]*') *(, *.)/assert_throws_dom(\1\2/gs"
    
    in bash (doesn't work in tcsh, due to the $ inside "").
    
    This does affect indentation poorly in cases when the first arg was on the same
    line as the assert_throws, there was a newline after the ',' after the first
    arg, and the following args were lined up with the first arg.  Fixing that,
    especially when there are multiple lines after the first arg, is not trivial
    with a regexp.
    bzbarsky authored and stephenmcgruer committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    f3ddd69 View commit details
    Browse the repository at this point in the history