We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28edd2f commit 8c7df24Copy full SHA for 8c7df24
README.md
@@ -38,11 +38,14 @@ context('when is not admin', function () {
38
39
```php
40
use function Cfx\PSpec\context;
41
+use function Cfx\PSpec\get;
42
use function Cfx\PSpec\getSubject;
43
use function Cfx\PSpec\let;
44
45
+subject(fn () => get('variable'));
46
+
47
context('when using high order testing', function () {
- let('param2', fn () => 2);
48
+ let('variable', fn () => 2);
49
50
it('can use high order testing')
51
->expect(getSubject(...))
0 commit comments