Skip to content

Commit

Permalink
Use specific assertion for net fetch methods
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed Jan 25, 2018
1 parent 775d6ab commit 7f5a153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/net/fetch/methods.rs
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 7f5a153

Please sign in to comment.