diff options
author | Aram Drevekenin <aram@poor.dev> | 2019-10-06 17:04:37 +0200 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2019-10-06 17:04:37 +0200 |
commit | 9a212ae864a48089e429fd7375c817291a4b9c7d (patch) | |
tree | d92f9e31874f2a4cd6314bedc2e20269c317a9db /src/tests/mod.rs | |
parent | 3af49b6f3356534000298f75f430289d30d70347 (diff) |
style(rustfmt): fmt
Diffstat (limited to 'src/tests/mod.rs')
-rw-r--r-- | src/tests/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/mod.rs b/src/tests/mod.rs index 1ee3af9..853a056 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -2,8 +2,8 @@ mod fakes; use fakes::TerminalEvent::*; use fakes::{ - create_fake_lookup_addr, get_interface, get_open_sockets, KeyboardEvents, NetworkFrames, - TestBackend, create_fake_receive_winch + create_fake_lookup_addr, create_fake_receive_winch, get_interface, get_open_sockets, + KeyboardEvents, NetworkFrames, TestBackend, }; use ::insta::assert_snapshot; @@ -817,7 +817,7 @@ fn traffic_with_host_names() { } #[test] -fn traffic_with_winch_event () { +fn traffic_with_winch_event() { let keyboard_events = Box::new(KeyboardEvents::new(vec![ None, // sleep None, // sleep @@ -853,7 +853,7 @@ fn traffic_with_winch_event () { let terminal_draw_events_mirror = terminal_draw_events.mirror.lock().unwrap(); let expected_terminal_events = vec![ - Clear, HideCursor, Draw, Flush, Draw, Flush, Draw, Flush, Clear, ShowCursor + Clear, HideCursor, Draw, Flush, Draw, Flush, Draw, Flush, Clear, ShowCursor, ]; assert_eq!(&terminal_events_mirror[..], &expected_terminal_events[..]); |