Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Fix warning about unused should_panicin wrong_type
Browse files Browse the repository at this point in the history
  • Loading branch information
EPashkin committed Mar 14, 2020
1 parent 47e6541 commit 588d72f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ gobject-sys = { git = "https://github.com/gtk-rs/sys" }

[dev-dependencies]
gir-format-check = "^0.1"
serial_test = "0.1"
serial_test_derive = "0.1"
serial_test = "0.4"
serial_test_derive = "0.4"
2 changes: 1 addition & 1 deletion src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ mod test {
}

#[test]
#[should_panic]
#[serial]
#[should_panic]
fn wrong_type() {
set_env();
let settings = Settings::new("com.github.gtk-rs.test");
Expand Down

0 comments on commit 588d72f

Please sign in to comment.