Skip to content

Commit 7bfb933

Browse files
committed
Remove free_null_parser test which incorrectly relied on panic! unwinding an FFI function.
Closes #136.
1 parent c714e7e commit 7bfb933

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

mp4parse_capi/src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,14 +1141,6 @@ fn new_parser() {
11411141
}
11421142
}
11431143

1144-
#[test]
1145-
#[should_panic(expected = "assertion failed")]
1146-
fn free_null_parser() {
1147-
unsafe {
1148-
mp4parse_free(std::ptr::null_mut());
1149-
}
1150-
}
1151-
11521144
#[test]
11531145
fn get_track_count_null_parser() {
11541146
unsafe {

0 commit comments

Comments
 (0)