File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2207,18 +2207,16 @@ public async Task MockDirectory_Exists_ShouldReturnTrue_IfArgIsFrontSlashAndRoot
22072207
22082208 [ Test ]
22092209 public static void MockDirectory_Move_ShouldNotThrowException_InWindows_When_SourceAndDestinationDifferOnlyInCasing ( )
2210-
22112210 {
22122211 // Arrange
22132212 MockFileSystem mockFs = new MockFileSystem ( ) ;
22142213 string tempDir = mockFs . Path . GetTempPath ( ) ;
22152214 string src = mockFs . Path . Combine ( tempDir , "src" ) ;
2216- string dest = mockFs . Path . Combine ( tempDir , "SRC" ) ; // different case
2215+ string dest = mockFs . Path . Combine ( tempDir , "SRC" ) ;
22172216 IDirectoryInfo srcDir = mockFs . DirectoryInfo . New ( src ) ;
22182217 srcDir . Create ( ) ;
22192218
22202219 // Act & Assert
22212220 Assert . DoesNotThrow ( ( ) => mockFs . Directory . Move ( src , dest ) ) ;
22222221 }
2223-
22242222}
You can’t perform that action at this time.
0 commit comments