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

Function test_remote_entry_deserialize

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

Source from the content-addressed store, hash-verified

748
749 #[test]
750 fn test_remote_entry_deserialize() {
751 let toml_str = r#"url = "https://example.com/repo"
752default = true"#;
753 let entry: RemoteEntry = toml::from_str(toml_str).unwrap();
754 assert_eq!(entry.url, "https://example.com/repo");
755 assert!(entry.default);
756 }
757
758 #[test]
759 fn test_remote_entry_deserialize_minimal() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected