@@ -29,7 +29,7 @@ public void
29
29
. GetFileSystemEntries ( "." , searchPattern , SearchOption . AllDirectories ) ;
30
30
31
31
result . Length . Should ( ) . Be ( expectedMatchingFiles ) ;
32
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , ".." , "xyz" , "a.test" ) ) ;
32
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , ".." , "xyz" , "a.test" ) ) ;
33
33
}
34
34
35
35
[ SkippableTheory ]
@@ -54,12 +54,12 @@ public void
54
54
result . Length . Should ( ) . Be ( expectedMatchingFiles ) ;
55
55
if ( ! searchPattern . EndsWith ( "a*" , StringComparison . Ordinal ) )
56
56
{
57
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "../.." , "bar" ) ) ;
58
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "../.." , "bar" , "xyz" ) ) ;
57
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "../.." , "bar" ) ) ;
58
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "../.." , "bar" , "xyz" ) ) ;
59
59
}
60
60
61
61
result . Should ( )
62
- . Contain ( System . IO . Path . Combine ( "." , "../.." , "bar" , "xyz" , "a.test" ) ) ;
62
+ . Contain ( FileSystem . Path . Combine ( "." , "../.." , "bar" , "xyz" , "a.test" ) ) ;
63
63
}
64
64
65
65
[ SkippableTheory ]
@@ -84,16 +84,16 @@ public void
84
84
result . Length . Should ( ) . Be ( expectedMatchingFiles ) ;
85
85
if ( ! searchPattern . EndsWith ( "a*" , StringComparison . Ordinal ) )
86
86
{
87
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "../../.." , "foo" ) ) ;
87
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "../../.." , "foo" ) ) ;
88
88
result . Should ( )
89
- . Contain ( System . IO . Path . Combine ( "." , "../../.." , "foo" , "bar" ) ) ;
89
+ . Contain ( FileSystem . Path . Combine ( "." , "../../.." , "foo" , "bar" ) ) ;
90
90
result . Should ( )
91
- . Contain ( System . IO . Path . Combine ( "." , "../../.." , "foo" , "bar" , "xyz" ) ) ;
91
+ . Contain ( FileSystem . Path . Combine ( "." , "../../.." , "foo" , "bar" , "xyz" ) ) ;
92
92
}
93
93
94
94
result . Should ( )
95
95
. Contain (
96
- System . IO . Path . Combine ( "." , "../../.." , "foo" , "bar" , "xyz" , "a.test" ) ) ;
96
+ FileSystem . Path . Combine ( "." , "../../.." , "foo" , "bar" , "xyz" , "a.test" ) ) ;
97
97
}
98
98
99
99
[ SkippableFact ]
@@ -109,8 +109,8 @@ public void SearchPattern_ContainingAsterisk_ShouldReturnMatchingFiles()
109
109
. GetFileSystemEntries ( "." , "a*.t*." , SearchOption . AllDirectories ) ;
110
110
111
111
result . Length . Should ( ) . Be ( 2 ) ;
112
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "a.test" ) ) ;
113
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "another.test" ) ) ;
112
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "a.test" ) ) ;
113
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "another.test" ) ) ;
114
114
}
115
115
116
116
[ SkippableFact ]
@@ -126,7 +126,7 @@ public void SearchPattern_ContainingQuestionMark_ShouldReturnMatchingFiles()
126
126
. GetFileSystemEntries ( "." , "a-??s*" , SearchOption . AllDirectories ) ;
127
127
128
128
result . Length . Should ( ) . Be ( 1 ) ;
129
- result [ 0 ] . Should ( ) . Be ( System . IO . Path . Combine ( "." , "a-test" ) ) ;
129
+ result [ 0 ] . Should ( ) . Be ( FileSystem . Path . Combine ( "." , "a-test" ) ) ;
130
130
}
131
131
132
132
[ SkippableFact ]
@@ -182,7 +182,7 @@ public void
182
182
. GetFileSystemEntries ( "." , searchPattern , SearchOption . AllDirectories ) ;
183
183
184
184
result . Length . Should ( ) . Be ( expectedMatchingFiles ) ;
185
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , ".." , path , "a.test" ) ) ;
185
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , ".." , path , "a.test" ) ) ;
186
186
}
187
187
188
188
[ SkippableTheory ]
@@ -241,7 +241,7 @@ public void SearchPattern_EndingWithTwoDots_ShouldNotMatchAnyFile()
241
241
else
242
242
{
243
243
result . Length . Should ( ) . Be ( 1 ) ;
244
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "test.." ) ) ;
244
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "test.." ) ) ;
245
245
}
246
246
}
247
247
@@ -291,12 +291,12 @@ public void SearchPattern_StarDot_ShouldReturnFilesWithoutExtension()
291
291
if ( Test . RunsOnWindows )
292
292
{
293
293
result . Length . Should ( ) . Be ( 1 ) ;
294
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "test" ) ) ;
294
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "test" ) ) ;
295
295
}
296
296
else
297
297
{
298
298
result . Length . Should ( ) . Be ( 3 ) ;
299
- result . Should ( ) . Contain ( System . IO . Path . Combine ( "." , "test." ) ) ;
299
+ result . Should ( ) . Contain ( FileSystem . Path . Combine ( "." , "test." ) ) ;
300
300
}
301
301
}
302
302
0 commit comments