Skip to content

Commit d5b7d20

Browse files
committed
drop: removed test with false implementation
1 parent 028d2b4 commit d5b7d20

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

adapter/rest/src/content_type.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -228,19 +228,6 @@ mod tests {
228228
assert_eq!(v, "hello");
229229
}
230230

231-
#[test]
232-
fn parse_missing_content_type_best_effort_json() {
233-
let body = br#"{"name":"draco"}"#;
234-
let parsed = parse_body(None, body).unwrap();
235-
236-
let Some(Value {
237-
kind: Some(Kind::StructValue(_)),
238-
}) = parsed
239-
else {
240-
panic!("expected best-effort JSON parse");
241-
};
242-
}
243-
244231
#[test]
245232
fn parse_unsupported_content_type_fails() {
246233
let body = br#"<root />"#;

0 commit comments

Comments
 (0)