MCPcopy Create free account
hub / github.com/d0iasm/saba / test_invalid

Function test_invalid

core/src/http.rs:116–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114
115 #[test]
116 fn test_invalid() {
117 let raw = "HTTP/1.1 200 OK".to_string();
118 assert!(HttpResponse::new(raw).is_err());
119 }
120
121 #[test]
122 fn test_status_line_only() {

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.80

Tested by

no test coverage detected