Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TestableIO/System.IO.Abstractions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v23.0.0
Choose a base ref
...
head repository: TestableIO/System.IO.Abstractions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v23.0.1
Choose a head ref
  • 11 commits
  • 3 files changed
  • 2 contributors

Commits on Nov 11, 2026

  1. chore(deps): update dependency awexpect to v4 (#1580)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    d0f686e View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency awexpect.testably to v3 (#1582)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    f9e5b19 View commit details
    Browse the repository at this point in the history
  3. 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>
    renovate[bot] authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    71d986e View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2026

  1. chore(deps): update dependency sharpcompress to 0.50.9 (#1584)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 12, 2026
    Configuration menu
    Copy the full SHA
    caf1f0a View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2026

  1. chore(deps): update dependency awexpect to 4.1.0 (#1585)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 13, 2026
    Configuration menu
    Copy the full SHA
    970665b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2026

  1. chore(deps): update dependency mockolate to v4 (#1586)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    033275d View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency awexpect.mockolate to v4 (#1587)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    5cfef2f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2026

  1. chore(deps): update dependency awexpect to 4.2.0 (#1588)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 15, 2026
    Configuration menu
    Copy the full SHA
    20bb595 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2026

  1. chore(deps): update dependency coverlet.collector to 10.1.1 (#1589)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 16, 2026
    Configuration menu
    Copy the full SHA
    b10fe47 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency mockolate to 4.1.0 (#1590)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 16, 2026
    Configuration menu
    Copy the full SHA
    67e8585 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2026

  1. 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.
    mohsinaliwork686-rgb authored Nov 17, 2026
    Configuration menu
    Copy the full SHA
    c12f3b1 View commit details
    Browse the repository at this point in the history
Loading