Skip to content

Commit 77c1e14

Browse files
authored
Merge pull request #137 from kinetiknz/issue136
Remove `free_null_parser` test which incorrectly relied on panic! unwinding an FFI function.
2 parents ec45de0 + 7bfb933 commit 77c1e14

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)