Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/assert-rs/assert_cmd
/ assert
Method
assert
src/cmd.rs:196–198 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
194
#[must_use]
195
#[track_caller]
196
pub fn assert(&mut self) -> Assert {
197
OutputAssertExt::assert(self)
198
}
199
}
200
201
/// Mirror [`std::process::Command`]'s API
Callers
15
cargo_binary
Function · 0.45
cargo_binary_with_empty_env
Function · 0.45
stdout_string
Function · 0.45
trait_example
Function · 0.45
trait_assert_example
Function · 0.45
struct_example
Function · 0.45
append_context_example
Function · 0.45
success_example
Function · 0.45
failure_example
Function · 0.45
code_example
Function · 0.45
stdout_example
Function · 0.45
stderr_example
Function · 0.45
Calls
2
output
Method · 0.80
append_context
Method · 0.80
Tested by
14
cargo_binary
Function · 0.36
cargo_binary_with_empty_env
Function · 0.36
stdout_string
Function · 0.36
trait_example
Function · 0.36
trait_assert_example
Function · 0.36
struct_example
Function · 0.36
append_context_example
Function · 0.36
success_example
Function · 0.36
failure_example
Function · 0.36
code_example
Function · 0.36
stdout_example
Function · 0.36
stderr_example
Function · 0.36