Skip to content

Commit

Permalink
Update parquet/src/bin/parquet-fromcsv.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya authored Jun 11, 2022
1 parent 3374a48 commit bf562d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parquet/src/bin/parquet-fromcsv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ 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();
// Remove Parquet version string from the help text
let mut actual = String::from_utf8(buffer_vec).unwrap();
let pos = actual.find('\n').unwrap() + 1;
actual = actual[pos..].to_string();
Expand Down

0 comments on commit bf562d3

Please sign in to comment.