Skip to content

Commit

Permalink
fix(crates/clipboard): allow dead_code in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xrelkd committed Jun 26, 2024
1 parent 1231928 commit abe02d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions crates/clipboard/tests/common/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(dead_code)]
use std::time::Duration;

use clipcat_base::ClipboardContent;
Expand Down
4 changes: 2 additions & 2 deletions crates/clipboard/tests/default.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
mod common;

use std::sync::Arc;

#[cfg(all(
Expand All @@ -12,8 +14,6 @@ use std::sync::Arc;
use clipcat_clipboard::X11ListenerError;
use clipcat_clipboard::{Clipboard, ClipboardKind, Error};

mod common;

use self::common::ClipboardTester;

#[derive(Debug)]
Expand Down

0 comments on commit abe02d3

Please sign in to comment.