mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use specific assertion for net fetch methods
This commit is contained in:
parent
775d6abb34
commit
7f5a1538d3
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ fn wait_for_response(response: &mut Response, target: Target, done_chan: &mut Do
|
|||
// We should still send the body across as a chunk
|
||||
target.process_response_chunk(vec.clone());
|
||||
} else {
|
||||
assert!(*body == ResponseBody::Empty)
|
||||
assert_eq!(*body, ResponseBody::Empty)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue