-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix "time_to_second" helper #300
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.
Please add tests if you are not in a hurry. Use the test cases from .NET:
https://github.com/dotnet/runtime/blob/v8.0.1/src/libraries/System.Memory/tests/ParsersAndFormatters/Parser/TestData.Parser.TimeSpan.cs#L181-L206
You don't need to test the cases of leading whitespaces, negative values, and illegal cases. Such cases should never happen.
b98b042
to
7f3dfe9
Compare
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.
Rubocop found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
f956c24
to
8e065cd
Compare
7de986f
to
9aaaf50
Compare
@Jedoku LGTM Please combine all your changes into one or two commits. For each review iteration, you should fix the original commits. |
4038876
to
60b63bb
Compare
@Jedoku You missed |
Signed-off-by: Vitalii Chulak <[email protected]>
60b63bb
to
deefaf7
Compare
No description provided.