-
Notifications
You must be signed in to change notification settings - Fork 847
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
MINOR: Remove version check from test_command_help
#1844
Conversation
test_command_help
cc @tustvold |
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.
Thank you
@@ -403,7 +403,9 @@ mod tests { | |||
let mut buffer_vec = Vec::new(); | |||
let mut buffer = std::io::Cursor::new(&mut buffer_vec); | |||
cmd.write_long_help(&mut buffer).unwrap(); | |||
let actual = String::from_utf8(buffer_vec).unwrap(); | |||
let mut actual = String::from_utf8(buffer_vec).unwrap(); |
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.
Maybe a comment explaining what this is doing?
Codecov Report
@@ Coverage Diff @@
## master #1844 +/- ##
==========================================
- Coverage 83.48% 83.48% -0.01%
==========================================
Files 201 201
Lines 56838 56838
==========================================
- Hits 47452 47451 -1
- Misses 9386 9387 +1
Continue to review full report at Codecov.
|
Thanks @tustvold |
Which issue does this PR close?
Closes #.
Rationale for this change
It causes test failure in CI after version upgrading:
Seems not necessary to have a version there and ask for updating the file each time.
What changes are included in this PR?
Are there any user-facing changes?