Skip to content

Commit b0aa806

Browse files
committed
Convert first "collect" example to new mdtest-spq syntax
1 parent 2e0781f commit b0aa806

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/language/aggregates/collect.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ of union of the types encountered.
1616
### Examples
1717

1818
Simple sequence collected into an array:
19-
```mdtest-command
20-
echo '1 2 3 4' | super -z -c 'collect(this)' -
21-
```
22-
23-
```mdtest-output
19+
```mdtest-spq
20+
# spq
21+
collect(this)
22+
# input
23+
1 2 3 4
24+
# expected output
2425
[1,2,3,4]
2526
```
2627

0 commit comments

Comments
 (0)