Add a test for a function in shared/updatecheck/download.swift

This commit is contained in:
Greg Neagle
2026-01-18 17:45:47 -08:00
parent 6be968cd52
commit 572f2cf7a5
@@ -0,0 +1,16 @@
//
// downloadTests.swift
// munkiCLItesting
//
// Created by Greg Neagle on 1/18/26.
//
import Testing
struct downloadTests {
@Test func getDownloadCachePathTests() async throws {
#expect(
getDownloadCachePath("http://munki.local/repo/pkgs/bar.pkg") == managedInstallsDir(subpath: "Cache/bar.pkg")
)
}
}