Skip to content

Commit

Permalink
test: allow dead code in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Mar 13, 2024
1 parent 81943fb commit e963d5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,8 @@ mod test {

#[test]
fn test() {
#![allow(dead_code)]

#[derive(Clone, PartialEq, Eq, Hash, Debug, Default)]
#[derive(Serialize, Deserialize)]
#[serde(crate = "serde_crate")]
Expand Down

0 comments on commit e963d5d

Please sign in to comment.