MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / missing_path_is_io_error

Function missing_path_is_io_error

crates/openshell-server/src/config_file.rs:614–618  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

612
613 #[test]
614 fn missing_path_is_io_error() {
615 let err = load(Path::new("/nonexistent/openshell-gateway.toml"))
616 .expect_err("missing file must be io error");
617 assert!(matches!(err, ConfigFileError::Io { .. }));
618 }
619
620 /// Contract test: the RPM default config template must parse against the
621 /// current schema and must pin the settings that Podman deployments require.

Callers

nothing calls this directly

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected