Skip to content

Commit 0c8150e

Browse files
deligoezclaude
andcommitted
docs(state-assertions.md): add backticks and () to method headers (style compliance)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ce92fd9 commit 0c8150e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/testing/state-assertions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Complete guide to asserting machine state in your tests.
44

55
## State Matching
66

7-
### matches()
7+
### `matches()`
88

99
Check if machine is in a specific state:
1010

@@ -61,14 +61,14 @@ expect($machine->state->context->total)->toBe(100);
6161
expect($machine->state->context->orderId)->not->toBeNull();
6262
```
6363

64-
### Using get()
64+
### Using `get()`
6565

6666
```php
6767
expect($machine->state->context->get('items'))->toHaveCount(1);
6868
expect($machine->state->context->get('user.email'))->toBe('test@example.com');
6969
```
7070

71-
### Using has()
71+
### Using `has()`
7272

7373
```php
7474
expect($machine->state->context->has('orderId'))->toBeTrue();

0 commit comments

Comments
 (0)