doc: TestDownloadTo

Signed-off-by: ithrael <wh01096045@gmail.com>
pull/12628/head
ithrael 2 years ago
parent 7986f60ddf
commit be9e297a08

@ -197,6 +197,7 @@ func TestDownloadTo(t *testing.T) {
},
}
cname := "/signtest-0.1.0.tgz"
// Distinguish the server's file directory from the downloaded directory.
dest := srv.Root() + "/dest"
os.Mkdir(dest, 0755)

Loading…
Cancel
Save