MCPcopy Create free account
hub / github.com/619dev/minghe / test_extract_status_code

Function test_extract_status_code

src/sip/parser.rs:865–872  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

863 );
864 assert_eq!(
865 extract_extension("SIPS:1003@example.com"),
866 Some("1003".to_string())
867 );
868 }
869
870 #[test]
871 fn test_extract_extension_with_user_param_before_host() {
872 assert_eq!(
873 extract_extension("sip:1002;user=phone@example.com"),
874 Some("1002".to_string())
875 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected