MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_find_by_name_short

Function test_find_by_name_short

crates/stdlib/src/ssl/oid.rs:412–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410
411 #[test]
412 fn test_find_by_name_short() {
413 let entry = find_by_name("CN").unwrap();
414 assert_eq!(entry.nid, 13);
415 assert_eq!(entry.oid_string(), "2.5.4.3");
416 }
417
418 #[test]
419 fn test_find_by_name_long() {

Callers

nothing calls this directly

Calls 2

find_by_nameFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected