Auto merge of #5197 - matklad:neater-tests, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 16 Mar 2018 21:13:21 +0000 (21:13 +0000)
committerbors <bors@rust-lang.org>
Fri, 16 Mar 2018 21:13:21 +0000 (21:13 +0000)
Slightly improve ergonomics of writing Cargo tests

As discussed in https://github.com/rust-lang/cargo/pull/5196#discussion_r175110557

I've also employed this to some of the longer command-lines in our test suite :)


Trivial merge