Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
1.8 kB
1
Indexable
Never
Starting discovery in 1 files.
[-] Discovery in D:\chocolatey\test.ps1 failed with:
System.Management.Automation.RuntimeException: No test scriptblock is provided. Did you put the opening curly brace on the next line?
at It, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 10640
at <ScriptBlock>, D:\chocolatey\test.ps1: line 15
at New-Block, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 807
at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 9839
at <ScriptBlock>, D:\chocolatey\test.ps1: line 14
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 3034
at Invoke-File, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 3043
at Invoke-BlockContainer, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 2952
at Discover-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 1468
at Invoke-Test, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 2462
at Invoke-Pester<End>, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 5046
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 9858
at Invoke-Interactively, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 9865
at Describe, C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\Pester.psm1: line 9843
at <ScriptBlock>, D:\chocolatey\test.ps1: line 14
at <ScriptBlock>, <No file>: line 1
Discovery found 0 tests in 1.35s.
Running tests.
Tests completed in 1.15s
Tests Passed: 0, Failed: 0, Skipped: 0 NotRun: 0
Container failed: 1
  - D:\chocolatey\test.ps1
Leave a Comment