Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Fix spelling of 'terminated' #118

Merged
merged 1 commit into from
Dec 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AU/Public/Update-AUPackages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function Update-AUPackages {
$pkg.Ignored = $true
$pkg.IgnoreMessage = $pkg.Result[-1]
} elseif ($job.State -eq 'Stopped') {
$pkg.Error = "Job termintated due to the $($Options.UpdateTimeout)s UpdateTimeout"
$pkg.Error = "Job terminated due to the $($Options.UpdateTimeout)s UpdateTimeout"
} else {
$pkg.Error = 'Job returned no object, Vector smash ?'
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Update-AUPackages.Streams.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Describe 'Update-AUPackages using streams' -Tag updateallstreams {
$Options.UpdateTimeout = 5

$res = updateall -Options $Options 3>$null 6> $null
$res[0].Error -eq "Job termintated due to the 5s UpdateTimeout" | Should Be $true
$res[0].Error -eq "Job terminated due to the 5s UpdateTimeout" | Should Be $true
}

It 'should update all packages when forced' {
Expand Down
2 changes: 1 addition & 1 deletion tests/Update-AUPackages.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Describe 'Update-AUPackages' -Tag updateall {
$Options.UpdateTimeout = 5

$res = updateall -Options $Options 3>$null 6> $null
$res[0].Error -eq "Job termintated due to the 5s UpdateTimeout" | Should Be $true
$res[0].Error -eq "Job terminated due to the 5s UpdateTimeout" | Should Be $true
}

It 'should update all packages when forced' {
Expand Down