Skip to content

Commit

Permalink
Removed an old std::fs::write() that was left in while debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Nov 28, 2023
1 parent a44ec60 commit 46f934c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/wasix/src/runtime/resolver/wapm_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,6 @@ mod tests {
&self,
request: HttpRequest,
) -> futures::future::BoxFuture<'_, Result<HttpResponse, anyhow::Error>> {
std::fs::write("/tmp/request.txt", request.body.as_deref().unwrap()).unwrap();
self.requests.lock().unwrap().push(request);
let response = self.responses.lock().unwrap().remove(0);
Box::pin(async { Ok(response) })
Expand Down

0 comments on commit 46f934c

Please sign in to comment.