MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / test_load_json_file_missing

Function test_load_json_file_missing

tests/agent_suite/agent_test.rs:5346–5350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5344
5345#[test]
5346fn test_load_json_file_missing() {
5347 let val = load_json_file(Path::new("/nonexistent/file.json"));
5348 assert!(val.is_object());
5349 assert!(val.as_object().unwrap().is_empty());
5350}
5351
5352#[test]
5353fn test_load_json_file_valid() {

Callers

nothing calls this directly

Calls 1

load_json_fileFunction · 0.85

Tested by

no test coverage detected