Skip to content

Commit 82705d7

Browse files
authored
Merge pull request #66 from AnderEnder/macos-tests-fix
Fix tests on macOs
2 parents 73d82c2 + 656cca4 commit 82705d7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ rust:
55
- stable
66
- beta
77
- nightly
8+
os:
9+
- linux
10+
- osx
811
matrix:
912
include:
1013
- env: RUSTFMT

src/stdin.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub trait CommandStdInExt {
3232
///
3333
/// let mut cmd = Command::new("cat");
3434
/// cmd
35-
/// .arg("-A")
35+
/// .arg("-et")
3636
/// .with_stdin()
3737
/// .buffer("42");
3838
/// let output = cmd.unwrap();
@@ -66,7 +66,7 @@ impl<'a> StdInCommandBuilder<'a> {
6666
///
6767
/// let mut cmd = Command::new("cat");
6868
/// cmd
69-
/// .arg("-A")
69+
/// .arg("-et")
7070
/// .with_stdin()
7171
/// .buffer("42");
7272
/// let output = cmd.unwrap();
@@ -97,7 +97,7 @@ impl<'a> StdInCommandBuilder<'a> {
9797
///
9898
/// let mut cmd = Command::new("cat");
9999
/// cmd
100-
/// .arg("-A")
100+
/// .arg("-et")
101101
/// .with_stdin()
102102
/// .path("Cargo.toml")
103103
/// .unwrap();

0 commit comments

Comments
 (0)