Open ojii opened 10 months ago
This test:
#[test] fn sniffer() { Sniffer::new().sniff_reader(Cursor::new([ 34, 97, 34, 44, 34, 98, 34, 44, 34, 99, 34, 44, 34, 100, 34, 44, 34, 101, 34, 10, 34, 227, 129, 130, 34, 44, 34, 227, 129, 132, 34, 44, 34, 227, 129, 134, 34, 44, 34, 227, 129, 136, 34, 44, 34, 227, 129, 138, 34, 10, 34, 240, 159, 165, 179, 34, 44, 34, 240, 159, 165, 176, 34, 44, 34, 240, 159, 164, 170, 34, 44, 34, 240, 159, 146, 165, 34, 44, 34, 240, 159, 171, 182, 34, 10, ])); }
panics with:
thread 'tests::sniffer' panicked at csv-sniffer-0.3.1/src/sniffer.rs:467:17: assertion failed: delim.len() == 1
The input is valid csv:
"a","b","c","d","e" "あ","い","う","え","お" "🥳","🥰","🤪","💥","🫶"
This test:
panics with:
The input is valid csv: