From dbd8538762ef8968a493e1bf996e8693479ca783 Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Sun, 28 Apr 2019 06:24:58 -0700 Subject: Split alacritty into a separate crates The crate containing the entry point is called alacritty, and the crate containing everything else is called alacritty_terminal. --- copypasta/src/x11.rs | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'copypasta/src') diff --git a/copypasta/src/x11.rs b/copypasta/src/x11.rs index 3bcf8455..0bb769a1 100644 --- a/copypasta/src/x11.rs +++ b/copypasta/src/x11.rs @@ -142,24 +142,3 @@ impl Clipboard { } } } - -#[cfg(test)] -mod tests { - use super::Clipboard; - use {Load, Store}; - - #[test] - fn clipboard_works() { - let mut clipboard = Clipboard::new().expect("create clipboard"); - let arst = "arst"; - let oien = "oien"; - clipboard.store_primary(arst).expect("store selection"); - clipboard.store_selection(oien).expect("store selection"); - - let selection = clipboard.load_selection().expect("load selection"); - let primary = clipboard.load_primary().expect("load selection"); - - assert_eq!(arst, primary); - assert_eq!(oien, selection); - } -} -- cgit