Mock IO in writeLocalPackageList / writeOverrides
Mocking IO is required for writeLocalPackageList,
as we want to test the 'add-path' behavior.
While it is not a big concern for overrides, as they
are deprecated and we are unlikely to add new tests,
it is easy to do, and already done for reading them.
1 parent efcdfa2 commit 2d2c89d5b5e304e1e77b38b241dd677094f8e12a
@Mathias Lang Mathias Lang authored on 23 Feb 2024
Nicholas Wilson committed on 26 Feb 2024
Showing 2 changed files
View
source/dub/packagemanager.d
View
source/dub/test/base.d