diff --git a/tests/duckdb_tests.rs b/tests/duckdb_tests.rs index f636060..d737a9c 100644 --- a/tests/duckdb_tests.rs +++ b/tests/duckdb_tests.rs @@ -11,6 +11,12 @@ fn test_file_path(file_name: &str) -> String { .to_string() } +#[test] +fn test_process_invalid_file() { + let file_path = test_file_path("invalid.txt"); + assert!(process_file(&file_path).is_err()); +} + #[test] fn test_process_geojson() { let file_path = test_file_path("hotosm_twn_populated_places_points_geojson.geojson"); @@ -46,9 +52,3 @@ fn test_process_geopackage() { // let file_path = test_file_path("your_parquet_file.parquet"); // assert!(process_file(&file_path).is_ok()); // } - -#[test] -fn test_process_invalid_file() { - let file_path = test_file_path("invalid.txt"); - assert!(process_file(&file_path).is_err()); -}