win_say - fix up syntax and test issues (#45450)

This commit is contained in:
Jordan Borean 2018-09-11 08:23:46 +10:00 committed by GitHub
commit c9c141fb6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View file

@ -21,7 +21,7 @@ $result = @{
$words = $null
f ($speech_speed -lt -10 -or $speech_speed -gt 10) {
if ($speech_speed -lt -10 -or $speech_speed -gt 10) {
Fail-Json $result "speech_speed needs to a integer in the range -10 to 10. The value $speech_speed is outside this range."
}