gaelcolas / gaelcolas/SampleModule

Pester Error when Function has no parameter

Aperta
#21 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
PowerShell
Stelle
43
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When a command has no parameter, the QA generic test errors as below.
see https://ci.appveyor.com/project/gaelcolas/chocolatey/build/1.0.2

```
[-] Error occurred in Describe block 6ms
RuntimeException: You cannot call a method on a null-valued expression.
at , C:\projects\chocolatey\chocolatey\tests\QA\module.tests.ps1: line 77
at , C:\projects\chocolatey\chocolatey\tests\QA\module.tests.ps1: line 77
at DescribeImpl, C:\projects\chocolatey\BuildOutput\modules\Pester\4.0.8\Functions\Describe.ps1: line 161
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.