3
3
[ Fact ]
4
4
public Task Test ( )
5
5
{
6
+ VerifierSettings . Reset ( ) ;
6
7
DerivePathInfo (
7
8
( sourceFile , projectDirectory , methodName , typeName ) =>
8
9
{
@@ -20,27 +21,31 @@ public Task Test()
20
21
[ Fact ]
21
22
public Task ReturnNulls ( )
22
23
{
24
+ VerifierSettings . Reset ( ) ;
23
25
DerivePathInfo ( ( _ , _ , _ , _ ) => new ( null ) ) ;
24
26
return Verify ( "Value" ) ;
25
27
}
26
28
27
29
[ Fact ]
28
30
public Task ProjectRelativeDirectory ( )
29
31
{
32
+ VerifierSettings . Reset ( ) ;
30
33
UseProjectRelativeDirectory ( "Relative" ) ;
31
34
return Verify ( "Value" ) ;
32
35
}
33
36
34
37
[ Fact ]
35
38
public Task SourceFileRelativeDirectory ( )
36
39
{
40
+ VerifierSettings . Reset ( ) ;
37
41
UseSourceFileRelativeDirectory ( "Relative" ) ;
38
42
return Verify ( "Value" ) ;
39
43
}
40
44
41
45
[ Fact ]
42
46
public Task InvalidMethod ( )
43
47
{
48
+ VerifierSettings . Reset ( ) ;
44
49
DerivePathInfo ( ( _ , _ , _ , _ ) => new ( null , null , Path
45
50
. GetInvalidFileNameChars ( )
46
51
. First ( )
@@ -51,6 +56,7 @@ public Task InvalidMethod()
51
56
[ Fact ]
52
57
public Task InvalidType ( )
53
58
{
59
+ VerifierSettings . Reset ( ) ;
54
60
DerivePathInfo ( ( _ , _ , _ , _ ) => new ( null , Path
55
61
. GetInvalidFileNameChars ( )
56
62
. First ( )
@@ -61,6 +67,7 @@ public Task InvalidType()
61
67
[ Fact ]
62
68
public Task InvalidDirectory ( )
63
69
{
70
+ VerifierSettings . Reset ( ) ;
64
71
DerivePathInfo ( ( _ , _ , _ , _ ) => new ( Path
65
72
. GetInvalidPathChars ( )
66
73
. First ( )
0 commit comments