Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
extrawurst committed Apr 19, 2023
1 parent b50e6ab commit dbf85ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/remove_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ fn test_remove_extensions() -> Result<(), Error> {

let extensions = unsafe { get_extensions() }?;

assert_eq!(extensions.len(), 3);
assert_eq!(extensions.get(0), Some("objectformat"));
assert_eq!(extensions.get(1), Some("custom"));
assert_eq!(extensions.get(2), Some("other"));
assert_eq!(extensions.len(), 2);
assert_eq!(extensions.get(0), Some("custom"));
assert_eq!(extensions.get(1), Some("other"));

Ok(())
}

0 comments on commit dbf85ff

Please sign in to comment.