Merge branch 'master' into dependabot/npm_and_yarn/babel/traverse-7.23.2 #407
GitHub Actions / TestsResults (PowerShell v5)
succeeded
Dec 18, 2023 in 1s
TestsResults (PowerShell v5) ✔️
✔️ ./testResults_PS5.xml
19 tests were completed in 15s with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\gsudo.Tests.ps1 | 5✔️ | 5s | ||
D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\Invoke-gsudo.Tests.ps1 | 14✔️ | 10s |
✔️ D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\gsudo.Tests.ps1
✔️ PS Gsudo (PSv5).It serializes return values as string.
✔️ PS Gsudo (PSv5).When invoked as gsudo !!, It elevates the last command executed
✔️ PS Gsudo (PSv5).Elevates a ScriptBlock.
✔️ PS Gsudo (PSv5).Elevates a ScriptBlock with arguments.
✔️ PS Gsudo (PSv5).Return can be captured.
✔️ D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\Invoke-gsudo.Tests.ps1
✔️ PS Invoke-Gsudo (PSv5).It serializes return values maintaining its type
✔️ PS Invoke-Gsudo (PSv5).It serializes return values mantaining its properties.
✔️ PS Invoke-Gsudo (PSv5).It returns an array of values mantaining its properties.
✔️ PS Invoke-Gsudo (PSv5).It accepts objects from the pipeline.
✔️ PS Invoke-Gsudo (PSv5).It throws when Error thrown
✔️ PS Invoke-Gsudo (PSv5).It throws with expression runtime errors
✔️ PS Invoke-Gsudo (PSv5).It throws with .Net Exceptions
✔️ PS Invoke-Gsudo (PSv5).It throws when ErrorAction = Stop
✔️ PS Invoke-Gsudo (PSv5).It throws when ErrorActionPreference = Stop
✔️ PS Invoke-Gsudo (PSv5).It forwards ErrorActionPreference 'Stop' to the elevated instance
✔️ PS Invoke-Gsudo (PSv5).It forwards ErrorActionPreference 'Continue' to the elevated instance
✔️ PS Invoke-Gsudo (PSv5).It forwards ErrorActionPreference 'Ignore' to the elevated instance
✔️ PS Invoke-Gsudo (PSv5).It doesn't throw when ErrorActionPreference = Continue
✔️ PS Invoke-Gsudo (PSv5).It doesn't throw with '-ErrorAction Continue-'
Loading