MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_remote_config_load_nonexistent

Function test_remote_config_load_nonexistent

atomic-repository/src/remote.rs:1004–1010  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1002
1003 #[test]
1004 fn test_remote_config_load_nonexistent() {
1005 let dir = tempdir().unwrap();
1006 let path = dir.path().join("config.toml");
1007
1008 let config = RemoteConfig::load(&path).unwrap();
1009 assert!(config.is_empty());
1010 }
1011
1012 #[test]
1013 fn test_remote_config_save_and_load() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected