diff --git a/main_test.ts b/main_test.ts index d99cfcc..69a9c8c 100644 --- a/main_test.ts +++ b/main_test.ts @@ -26,7 +26,7 @@ Deno.test("Download ISO file test", async () => { ); }); -Deno.test("Download ISO file test", async () => { +Deno.test("Breakpoint continuation test", async () => { const url = "https://mirrors.tuna.tsinghua.edu.cn/debian-cd/12.9.0-live/amd64/iso-hybrid/debian-live-12.9.0-amd64-kde.iso"; const dirpath = "."; @@ -45,6 +45,13 @@ Deno.test("Download ISO file test", async () => { dirpath, threads, startChunk: 700, + endChunk: 1400, + }); + await download({ + url, + dirpath, + threads, + startChunk: 1400, }); console.timeEnd("Download ISO file test");