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

Commit

Permalink
Update test-add-command.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed Dec 1, 2020
1 parent 0daf8ad commit 45dc474
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-add-command.ps1
Expand Up @@ -34,7 +34,7 @@ function pglet_send {

$result = $pipeReader.ReadLine()

Write-Host "Result: $result"
#Write-Host "Result: $result"

if ($result.StartsWith("$ERROR_RESULT ")) {
throw $result.Substring($ERROR_RESULT.Length + 1)
Expand All @@ -55,7 +55,7 @@ function pglet_send {
}

try {
$res = (pglet page page1)
$res = (pglet page page1 --uds)

if ($res -match "(?<pipeName>[^\s]+)\s(?<url>[^\s]+)") {
$pipeName = $Matches["pipeName"]
Expand Down Expand Up @@ -120,7 +120,7 @@ try {
Write-Host "Bio: $bio"

for ($i = 0; $i -lt 101; $i++) {
pglet_send "set prog value=$($i) label='Step $i...'"
pglet_send "set prog value=$($i) label='Step $i...'" | out-null
Start-Sleep -ms 50
}
}
Expand Down

0 comments on commit 45dc474

Please sign in to comment.