Commit 2c92589
authored
fix:
On Windows, `MockFileSystem.Directory.Move` no longer throws a `System.IO.IOException` when source and destination path only differ in casing.Directory.Move fails on Windows if destination has different case from source (#1256)1 parent 84843b8 commit 2c92589
2 files changed
Lines changed: 24 additions & 5 deletions
File tree
- src/TestableIO.System.IO.Abstractions.TestingHelpers
- tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
541 | 546 | | |
542 | | - | |
543 | 547 | | |
544 | 548 | | |
545 | 549 | | |
| |||
653 | 657 | | |
654 | 658 | | |
655 | 659 | | |
656 | | - | |
| 660 | + | |
657 | 661 | | |
658 | 662 | | |
659 | 663 | | |
660 | 664 | | |
661 | 665 | | |
662 | 666 | | |
663 | 667 | | |
664 | | - | |
| 668 | + | |
665 | 669 | | |
666 | 670 | | |
667 | 671 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2204 | 2204 | | |
2205 | 2205 | | |
2206 | 2206 | | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
2207 | 2222 | | |
0 commit comments