mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-05 16:24:23 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user