diff options
author | Theodore Dubois <tblodt@icloud.com> | 2019-04-28 06:24:58 -0700 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-04-28 13:24:58 +0000 |
commit | dbd8538762ef8968a493e1bf996e8693479ca783 (patch) | |
tree | 32ac2a6a5e01238a272d4ba534551d2e42903c7a /copypasta | |
parent | 9c6d12ea2c863ba76015bdedc00db13b7307725a (diff) | |
download | alacritty-dbd8538762ef8968a493e1bf996e8693479ca783.tar.gz alacritty-dbd8538762ef8968a493e1bf996e8693479ca783.zip |
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.
Diffstat (limited to 'copypasta')
-rw-r--r-- | copypasta/src/x11.rs | 21 |
1 files changed, 0 insertions, 21 deletions
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); - } -} |