Skip to content

Commit 3ca6aaa

Browse files
committed
Update test
1 parent 56d8424 commit 3ca6aaa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

datafusion-cli/src/exec.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,7 @@ mod tests {
349349
// Ensure that local files are also registered
350350
let sql =
351351
format!("CREATE EXTERNAL TABLE test STORED AS PARQUET LOCATION '{location}'");
352-
let err = create_external_table_test(location, &sql)
353-
.await
354-
.unwrap_err();
355-
356-
if let DataFusionError::IoError(e) = err {
357-
assert_eq!(e.kind(), std::io::ErrorKind::NotFound);
358-
} else {
359-
return Err(err);
360-
}
352+
create_external_table_test(location, &sql).await.unwrap();
361353

362354
Ok(())
363355
}

0 commit comments

Comments
 (0)