-
Notifications
You must be signed in to change notification settings - Fork 582
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
Convert t/mojo/delay.t to use subtests #1568
Convert t/mojo/delay.t to use subtests #1568
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some of the variables are not sorted alphabetically, but they weren't in the original commit either so I'm not going to request changes based on it.
https://github.com/mojolicious/mojo/pull/1568/files?w=1 looks good to me 👍
A couple of follow up questions:
|
t/mojo/delay.t
Outdated
|
||
subtest 'Exception in first step' => sub { | ||
my $failed; | ||
my $result; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On separate lines is inconsistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good, thanks for clarifying that the parentheses are preferred!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main preference is consistency. If something is unclear just look at how other files are formatted.
6b2c3cf
to
ca13cc7
Compare
Summary
Convert t/mojo/delay.t to use subtests.
Motivation
One more file converted.
References
Issue #1520