Tests: Use TestDub FSEntry constructor for more accurate tests
...
The previous approach added Packages in the PackageManager directly,
completely sidestepping the scanning the PackageManager does,
which is a behavior we absolutely want to test.
By setting up the filesystem before we instantiate our `TestDub` instance,
we can remove a bunch of exceptions / overrides, and get a much closer
behavior to the final product.
Mathias Lang
authored
on 12 Feb 2024
Mathias LANG
committed
on 15 Feb 2024