sqlite3/tests: Remove invalid test_open_misuse test case

You can pass NULL to `sqlite3_open()` and it will open a private,
temporary on-disk database. Therefore, drop the broken test.
This commit is contained in:
Pekka Enberg
2025-05-14 13:59:17 +03:00
parent fde5484e93
commit cf66dfcdaf

View File

@@ -60,14 +60,6 @@ fn test_libversion_number() {
}
}
#[test]
fn test_open_misuse() {
unsafe {
let mut db = ptr::null_mut();
assert_eq!(sqlite3_open(ptr::null(), &mut db), SQLITE_MISUSE);
}
}
#[test]
fn test_open_not_found() {
unsafe {