()
| 740 | |
| 741 | #[test] |
| 742 | fn test_remote_entry_serialize() { |
| 743 | let entry = RemoteEntry::new_default("https://example.com/repo"); |
| 744 | let toml_str = toml::to_string(&entry).unwrap(); |
| 745 | assert!(toml_str.contains("url = \"https://example.com/repo\"")); |
| 746 | assert!(toml_str.contains("default = true")); |
| 747 | } |
| 748 | |
| 749 | #[test] |
| 750 | fn test_remote_entry_deserialize() { |