File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tools/StaticAnalysis/StaticAnalysis.Test Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -169,8 +169,8 @@ public void ShouldContinueVerbWithoutForceSwitch()
169
169
public void CmdletWithApprovedVerb ( )
170
170
{
171
171
cmdletSignatureVerifier . Analyze (
172
- new List < string > { Environment . CurrentDirectory } ,
173
- ( ( dirList ) => { return new List < string > { Environment . CurrentDirectory } ; } ) ,
172
+ new List < string > { _testCmdletDirPath } ,
173
+ ( ( dirList ) => { return new List < string > { _testCmdletDirPath } ; } ) ,
174
174
( cmdletName ) => cmdletName . Equals ( "Get-SampleCmdlet" , StringComparison . OrdinalIgnoreCase ) ) ;
175
175
176
176
AnalysisReport testReport = cmdletSignatureVerifier . GetAnalysisReport ( ) ;
@@ -182,8 +182,8 @@ public void CmdletWithApprovedVerb()
182
182
public void CmdletWithUnapprovedVerb ( )
183
183
{
184
184
cmdletSignatureVerifier . Analyze (
185
- new List < string > { Environment . CurrentDirectory } ,
186
- ( ( dirList ) => { return new List < string > { Environment . CurrentDirectory } ; } ) ,
185
+ new List < string > { _testCmdletDirPath } ,
186
+ ( ( dirList ) => { return new List < string > { _testCmdletDirPath } ; } ) ,
187
187
( cmdletName ) => cmdletName . Equals ( "Prepare-SampleCmdlet" , StringComparison . OrdinalIgnoreCase ) ) ;
188
188
189
189
AnalysisReport testReport = cmdletSignatureVerifier . GetAnalysisReport ( ) ;
You can’t perform that action at this time.
0 commit comments