()
| 1918 | |
| 1919 | #[test] |
| 1920 | fn test_parse_invalid_csv_bool() { |
| 1921 | let file_name = "test/data/various_invalid_types/invalid_bool.csv"; |
| 1922 | |
| 1923 | let error = invalid_csv_helper(file_name); |
| 1924 | assert_eq!( |
| 1925 | "Parser error: Error while parsing value 'none' as type 'Boolean' for column 3 at line 2. Row data: '[2,2.2,2.22,none]'", |
| 1926 | error |
| 1927 | ); |
| 1928 | } |
| 1929 | |
| 1930 | /// Infer the data type of a record |
| 1931 | fn infer_field_schema(string: &str) -> DataType { |
nothing calls this directly
no test coverage detected