Sign in
android
/
toolchain
/
sccache
/
39d4118c3a8fc2f430b747c0262ce4fe8c1b01f9
/
.
/
android
/
vendor
/
assert_cmd-2.0.10
/
examples
/
failure.rs
blob: d6678a586955e7d94e9c32f903fbf03c219129c2 [
file
] [
log
] [
blame
]
use
assert_cmd
::
prelude
::*;
use
std
::
process
::
Command
;
fn
main
()
{
Command
::
new
(
"ls"
)
.
args
([
"non-existent"
])
.
assert
()
.
code
(&[
3
,
42
]
as
&[
i32
]);
}