Repository navigation
Comparing changes
Open a pull request
base repository: TestableIO/System.IO.Abstractions
base: v23.0.0
head repository: TestableIO/System.IO.Abstractions
compare: v23.0.1
- 11 commits
- 3 files changed
- 2 contributors
Commits on Nov 11, 2026
-
chore(deps): update dependency awexpect to v4 (#1580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d0f686e - Browse repository at this point
Copy the full SHA d0f686eView commit details -
chore(deps): update dependency awexpect.testably to v3 (#1582)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f9e5b19 - Browse repository at this point
Copy the full SHA f9e5b19View commit details -
chore(deps): update dependency microsoft.net.test.sdk to 18.12.0 (#1583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 71d986e - Browse repository at this point
Copy the full SHA 71d986eView commit details
Commits on Nov 12, 2026
-
chore(deps): update dependency sharpcompress to 0.50.9 (#1584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for caf1f0a - Browse repository at this point
Copy the full SHA caf1f0aView commit details
Commits on Nov 13, 2026
-
chore(deps): update dependency awexpect to 4.1.0 (#1585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 970665b - Browse repository at this point
Copy the full SHA 970665bView commit details
Commits on Nov 14, 2026
-
chore(deps): update dependency mockolate to v4 (#1586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 033275d - Browse repository at this point
Copy the full SHA 033275dView commit details -
chore(deps): update dependency awexpect.mockolate to v4 (#1587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5cfef2f - Browse repository at this point
Copy the full SHA 5cfef2fView commit details
Commits on Nov 15, 2026
-
chore(deps): update dependency awexpect to 4.2.0 (#1588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 20bb595 - Browse repository at this point
Copy the full SHA 20bb595View commit details
Commits on Nov 16, 2026
-
chore(deps): update dependency coverlet.collector to 10.1.1 (#1589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b10fe47 - Browse repository at this point
Copy the full SHA b10fe47View commit details -
chore(deps): update dependency mockolate to 4.1.0 (#1590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 67e8585 - Browse repository at this point
Copy the full SHA 67e8585View commit details
Commits on Nov 17, 2026
-
fix: name the Unix root drive
/instead of/:\(#1591)Fixes #927 On Linux and macOS, `MockFileSystem.DriveInfo.GetDrives()` returned the root twice, both named `/:\`, and `DriveInfo.New("/").Name` was `/:\`. The real `DriveInfo` gives `/`. **What was wrong** `PathVerifier.TryNormalizeDriveName` has a shortcut for one-character names: it treats the character as a drive letter and appends `:\`, so `/` became `/:\`. The root then got registered twice: as `/` for paths like `/foo/bar.txt` (through `GetPathRoot`), and as `/:\` for the `/` directory entry itself (through the shortcut). `MockDriveInfo` named both of them `/:\`, and `RootDirectory` of that drive pointed at `/:`. **What changed** The one-character shortcut now only applies to letters, using `char.IsLetter` like `TrimSlashes` and `IsValidUseOfVolumeSeparatorChar` already do for drive letters. `/` now goes through `GetPathRoot` like longer paths and stays `/`. Both registrations end up under the same key, so `GetDrives()` returns a single drive named `/`. Drive letters (`c`, `c:`, `c:\`) still take the shortcut, and UNC and `\\?\` paths never reached it, so Windows drives are handled as before. The only other inputs that change are single non-letter characters passed in directly. They now go through `GetPathRoot` as well, so `1` throws `ArgumentException` (as the real `DriveInfo` does on Windows) instead of becoming `1:\`, and on Windows `\` stays `\` instead of becoming `\:\`. **How it's tested** I added two Unix-only tests to `MockFileSystemTests`, next to the Windows-only `MockFileSystem_Constructor_ShouldNotDuplicateDrives`: - after adding `/foo/bar.txt`, `GetDrives()` returns exactly one drive, named `/` - `DriveInfo.New("/").Name` is `/` Both fail on `main` and pass with the fix. They aren't in `MockDriveInfoFactoryTests` because that whole class is Windows-only. I ran this on Linux in the `mcr.microsoft.com/dotnet/sdk:11.0.100` container, with the .NET 10, 9 and 8 runtimes added. The Release build of the solution has no warnings or errors. The Wrappers, TestingHelpers and Parity tests all pass on net11.0, net10.0, net9.0 and net8.0, and the API tests pass too. I couldn't run the Windows tests or net472. The existing Windows-only drive tests (`MockDriveInfoTests`, `MockDriveInfoFactoryTests` and the drive tests in `MockFileSystemTests`) cover that path, so CI on Windows should confirm it is unchanged.
Configuration menu - View commit details
-
Copy full SHA for c12f3b1 - Browse repository at this point
Copy the full SHA c12f3b1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v23.0.0...v23.0.1