@@ -441,15 +441,15 @@ public void GetDirectories_StartDirectoryIsNull()
441
441
{
442
442
var finder = new DirectoryFinder ( Substitute . For < IFileSystem > ( ) ) ;
443
443
444
- Assert . That ( ( ) => finder . GetDirectories ( ( IDirectory ) null ! , "notused" ) , Throws . ArgumentNullException . With . Message . Contains ( " startDirectory " ) ) ;
444
+ Assert . That ( ( ) => finder . GetDirectories ( ( IDirectory ) null ! , "notused" ) , Throws . ArgumentNullException . With . Message . Contains ( "startDirectory" ) ) ;
445
445
}
446
446
447
447
[ Test ]
448
448
public void GetDirectories_PatternIsNull ( )
449
449
{
450
450
var finder = new DirectoryFinder ( Substitute . For < IFileSystem > ( ) ) ;
451
451
452
- Assert . That ( ( ) => finder . GetDirectories ( Substitute . For < IDirectory > ( ) , null ! ) , Throws . ArgumentNullException . With . Message . Contains ( " pattern " ) ) ;
452
+ Assert . That ( ( ) => finder . GetDirectories ( Substitute . For < IDirectory > ( ) , null ! ) , Throws . ArgumentNullException . With . Message . Contains ( "pattern" ) ) ;
453
453
}
454
454
455
455
[ Test ]
@@ -594,23 +594,23 @@ public void GetFiles_StartDirectoryIsNull()
594
594
{
595
595
var finder = new DirectoryFinder ( Substitute . For < IFileSystem > ( ) ) ;
596
596
597
- Assert . That ( ( ) => finder . GetFiles ( ( IDirectory ) null ! , "notused" ) , Throws . ArgumentNullException . With . Message . Contains ( " startDirectory " ) ) ;
597
+ Assert . That ( ( ) => finder . GetFiles ( ( IDirectory ) null ! , "notused" ) , Throws . ArgumentNullException . With . Message . Contains ( "startDirectory" ) ) ;
598
598
}
599
599
600
600
[ Test ]
601
601
public void GetFiles_PatternIsNull ( )
602
602
{
603
603
var finder = new DirectoryFinder ( Substitute . For < IFileSystem > ( ) ) ;
604
604
605
- Assert . That ( ( ) => finder . GetDirectories ( Substitute . For < IDirectory > ( ) , null ! ) , Throws . ArgumentNullException . With . Message . Contains ( " pattern " ) ) ;
605
+ Assert . That ( ( ) => finder . GetDirectories ( Substitute . For < IDirectory > ( ) , null ! ) , Throws . ArgumentNullException . With . Message . Contains ( "pattern" ) ) ;
606
606
}
607
607
608
608
[ Test ]
609
609
public void GetFiles_PatternIsEmpty ( )
610
610
{
611
611
var finder = new DirectoryFinder ( Substitute . For < IFileSystem > ( ) ) ;
612
612
613
- Assert . That ( ( ) => finder . GetFiles ( Substitute . For < IDirectory > ( ) , string . Empty ) , Throws . ArgumentException . With . Message . Contains ( " pattern " ) ) ;
613
+ Assert . That ( ( ) => finder . GetFiles ( Substitute . For < IDirectory > ( ) , string . Empty ) , Throws . ArgumentException . With . Message . Contains ( "pattern" ) ) ;
614
614
}
615
615
616
616
private static string CreateAbsolutePath ( IEnumerable < string > parts )
0 commit comments