Skip to content

Commit

Permalink
wrong stream
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Sep 12, 2016
1 parent 2103d90 commit 8d1ebf5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ mod tests {
use super::{is, Stream};

#[test]
#[cfg(windows)]
fn is_err() {
assert!(is(Stream::Stderr))
// appveyor pipes its output
assert!(!is(Stream::Stderr))
}

#[test]
Expand All @@ -86,8 +88,7 @@ mod tests {
#[test]
#[cfg(windows)]
fn is_in() {
// appveyor pipes its output
assert!(!is(Stream::Stdin))
assert!(is(Stream::Stdin))
}

#[test]
Expand Down

0 comments on commit 8d1ebf5

Please sign in to comment.