-
Notifications
You must be signed in to change notification settings - Fork 30k
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: replace util with backtick strings #3359
Conversation
@Trott I don't know if you want to run CI again to be safe. |
Now that we have backticks we no longer need to use util.format to template strings! This commit was inspired by #3324, and it replaces instances of util.format with backtick strings in a number of tests
There seem to be two files use |
I only updated the files that were obvious about what was going on with variable declaration. The other tests had instances where let made more sense and figure I'd rather not start dealing with that logic for this PR. More than happy to do this. |
LGTM if CI doesn't do anything unexpected |
LGTM |
LGTM... will land in a sec |
Now that we have backticks we no longer need to use util.format to template strings! This commit was inspired by #3324, and it replaces instances of util.format with backtick strings in a number of tests Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #3359
Landed in 6c032a8 ... btw, @thealphanerd ... watch your line breaks in your commit messages. I fixed it up in the landed commit. |
if tests are being backported this should be considered for lts /cc @jasnell |
Now that we have backticks we no longer need to use util.format to template strings! This commit was inspired by #3324, and it replaces instances of util.format with backtick strings in a number of tests Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #3359
Landed in v4.x-staging as 41a4258 |
Now that we have backticks we no longer need to use util.format to template strings! This commit was inspired by #3324, and it replaces instances of util.format with backtick strings in a number of tests Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #3359
Now that we have backticks we no longer need to use util.format to template strings!
This commit was inspired by #3324, and it replaces instances of util.format with backtick strings in a number of tests
closes #3340 #3338 #3336