Skip to content

Commit

Permalink
Merge pull request majkinetor#118 from flcdrg/IllBeBack
Browse files Browse the repository at this point in the history
Fix spelling of 'terminated'
  • Loading branch information
Thilas authored Dec 30, 2017
2 parents 87d39fe + 3c21c9b commit 2b97446
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 2b97446

Please sign in to comment.