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

MINOR: Remove version check from test_command_help #1844

Merged
merged 2 commits into from
Jun 11, 2022
Merged

Conversation

viirya
Copy link
Member

@viirya viirya commented Jun 10, 2022

Which issue does this PR close?

Closes #.

Rationale for this change

It causes test failure in CI after version upgrading:

---- tests::test_command_help stdout ----
thread 'tests::test_command_help' panicked at 'assertion failed: `(left == right)`
  left: `"parquet 15.0.0
  ...
   right: `"parquet 16.0.0

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?

@github-actions github-actions bot added the parquet Changes to the parquet crate label Jun 10, 2022
@viirya viirya changed the title MINOR: Remove version from parquet-fromcsv-help.txt MINOR: Remove test_command_help from parquet-fromcsv-help.txt Jun 10, 2022
@viirya viirya changed the title MINOR: Remove test_command_help from parquet-fromcsv-help.txt MINOR: Remove version check from test_command_help Jun 10, 2022
@viirya
Copy link
Member Author

viirya commented Jun 11, 2022

cc @tustvold

Copy link
Contributor

@tustvold tustvold left a 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();
Copy link
Contributor

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-commenter
Copy link

Codecov Report

Merging #1844 (bf562d3) into master (c396dfb) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            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     
Impacted Files Coverage Δ
parquet/src/bin/parquet-fromcsv.rs 0.00% <ø> (ø)
parquet_derive/src/parquet_field.rs 65.98% <0.00%> (-0.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c396dfb...bf562d3. Read the comment docs.

@viirya viirya merged commit 36963d7 into apache:master Jun 11, 2022
@viirya
Copy link
Member Author

viirya commented Jun 11, 2022

Thanks @tustvold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants