Searched refs:get_compatible_item (Results 1 – 1 of 1) sorted by relevance
82 pub fn get_compatible_item( in get_compatible_item() method105 .map(|(nv, source)| VersionPair { source, dest: self.get_compatible_item(nv) }) in pairs()273 assert_eq!(version_match.get_compatible_item(&equal), Some(&"equal dest".to_string())); in test_version_map()283 version_match.get_compatible_item(&compatible_old), in test_version_map()295 assert!(version_match.get_compatible_item(&incompatible_old).is_none()); in test_version_map()302 assert!(version_match.get_compatible_item(&downgrade_old).is_none()); in test_version_map()309 assert!(version_match.get_compatible_item(&missing).is_none()); in test_version_map()315 assert!(version_match.get_compatible_item(&superfluous).is_none()); in test_version_map()