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

Function test_find_by_name_long

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

Source from the content-addressed store, hash-verified

417
418 #[test]
419 fn test_find_by_name_long() {
420 let entry = find_by_name("commonName").unwrap();
421 assert_eq!(entry.nid, 13);
422 assert_eq!(entry.short_name, "CN");
423 }
424
425 #[test]
426 fn test_find_by_name_case_insensitive() {

Callers

nothing calls this directly

Calls 2

find_by_nameFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected