MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_parse_invalid_csv_int

Function test_parse_invalid_csv_int

arrow-csv/src/reader/mod.rs:1909–1917  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1907
1908 #[test]
1909 fn test_parse_invalid_csv_int() {
1910 let file_name = "test/data/various_invalid_types/invalid_int.csv";
1911
1912 let error = invalid_csv_helper(file_name);
1913 assert_eq!(
1914 "Parser error: Error while parsing value '2.3' as type 'UInt64' for column 0 at line 2. Row data: '[2.3,2.2,2.22,false]'",
1915 error
1916 );
1917 }
1918
1919 #[test]
1920 fn test_parse_invalid_csv_bool() {

Callers

nothing calls this directly

Calls 1

invalid_csv_helperFunction · 0.85

Tested by

no test coverage detected