diff options
author | Zac Pullar-Strecker <zacmps@gmail.com> | 2018-10-19 18:08:45 +1300 |
---|---|---|
committer | Zac Pullar-Strecker <zacps@users.noreply.github.com> | 2018-10-29 20:52:14 +1300 |
commit | 58127f468787bec9ae5d463575a8db83ae3652a7 (patch) | |
tree | 72c1fdf2985b921f3ea0470b40f8b74407a5b75d /winpty | |
parent | df82b5ffbdcc1cb2909f4078b435be3b46281694 (diff) | |
download | alacritty-58127f468787bec9ae5d463575a8db83ae3652a7.tar.gz alacritty-58127f468787bec9ae5d463575a8db83ae3652a7.zip |
Add cargo workspace, add winpty tests to CI
Diffstat (limited to 'winpty')
-rw-r--r-- | winpty/src/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winpty/src/lib.rs b/winpty/src/lib.rs index 3effb939..42a83569 100644 --- a/winpty/src/lib.rs +++ b/winpty/src/lib.rs @@ -356,8 +356,6 @@ mod tests { use self::named_pipe::PipeClient; use self::winapi::um::processthreadsapi::OpenProcess; use self::winapi::um::winnt::READ_CONTROL; - - use std::ptr::null_mut; use {Config, ConfigFlags, SpawnConfig, SpawnFlags, Winpty}; @@ -443,6 +441,7 @@ mod tests { } #[test] + #[ignore] // Test that each id returned by cosole_process_list points to an actual process fn console_process_list_valid() { let mut winpty = Winpty::open( @@ -470,7 +469,7 @@ mod tests { *id as u32 ) }; - assert!(handle != null_mut()); + assert!(!handle.is_null()); }); } } |