]> git.lizzy.rs Git - rust.git/commit
Adjusts all rust doc test to use `expect` and `should_panic`
authorLukas Pustina <lukas.pustina@centerdevice.com>
Mon, 21 Mar 2016 13:17:17 +0000 (14:17 +0100)
committerLukas Pustina <lukas.pustina@centerdevice.com>
Mon, 21 Mar 2016 13:17:17 +0000 (14:17 +0100)
commit0dd5f67f4af2f071fa435dc0487d3678d3cf40dd
treee03b270b919b6adad3133b59daf7db85214fabcb
parent45517947ba9a69260e5b3f4fe54a9aa21ed703eb
Adjusts all rust doc test to use `expect` and `should_panic`

- All Rust Doc tests execute the same command `/bin/cat file.txt` which
  `should_panic` on all platforms consistently, because either
  `/bin/cat` or `file.txt` do not exist.
src/libstd/process.rs