std/http: allow response body to be string (#3705)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2020-01-17 15:44:35 -08:00 committed by Ry Dahl
parent 5fa056e53b
commit fc077cd315
4 changed files with 53 additions and 10 deletions

View file

@ -233,6 +233,8 @@ test(async function emptyDirPermission(): Promise<void> {
await Deno.remove(testfolder, { recursive: true });
throw err;
}
// Make the test rerunnable
// Otherwise would throw error due to mkdir fail.
await Deno.remove(testfolder, { recursive: true });
// done
});