Skip to content

Commit

Permalink
tests: add BOM handling for reverse property tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Jul 27, 2024
1 parent 510ea79 commit 958d37f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_reverse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ fn prop_reverse_no_headers() {
}

fn prop_reverse_indexed(name: &str, rows: CsvData, headers: bool) -> bool {
if !rows.is_empty() && rows[0][0] == "\u{FEFF}" {
return true;
}

let wrk = Workdir::new(name);
wrk.create_indexed("in.csv", rows.clone());

Expand Down

0 comments on commit 958d37f

Please sign in to comment.