Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ shell_escape_empty_string
Function
shell_escape_empty_string
crates/openshell-server/src/grpc/sandbox.rs:2042–2044 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2040
2041
#[test]
2042
fn shell_escape_empty_string() {
2043
assert_eq!(shell_escape(
""
).unwrap(),
"''"
);
2044
}
2045
2046
#[test]
2047
fn shell_escape_wraps_unsafe_chars() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected