Skip to content

Commit 1105c3d

Browse files
committed
test: Update expected error message
1 parent 6589daf commit 1105c3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AzureArtifactsPowerShellModuleHelper/AzureArtifactsPowerShellModuleHelper.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Describe 'Finding a PowerShell module from Azure Artifacts' {
275275
[scriptblock] $action = { Find-AzureArtifactsModule -Name $PowerShellModuleName -Repository $repository -ErrorAction Stop }
276276

277277
# Act and Assert.
278-
$action | Should -Throw "No match was found for the specified search criteria and module name '$PowerShellModuleName'. Try Get-PSRepository to see all available registered module repositories."
278+
$action | Should -Throw "Unable to find repository '$repository'. Use Get-PSRepository to see all available repositories."
279279
}
280280
}
281281

0 commit comments

Comments
 (0)