Skip to content

Commit

Permalink
Update "tests/man.test" and remove superflous whitespace in manual.yml
Browse files Browse the repository at this point in the history
tests/man.test was generated incorrectly and had some duplicate tests,
the new CI workflow didn't like that.
  • Loading branch information
emanuele6 authored and nicowilliams committed Jul 11, 2023
1 parent c049061 commit c99981c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 903 deletions.
8 changes: 4 additions & 4 deletions docs/content/manual/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ sections:
For any filter `f`, `map(f)` and `map_values(f)` apply `f`
to each of the values in the input array or object, that is,
to the values of `.[]`.
In the absence of errors, `map(f)` always outputs an array
whereas `map_values(f)` outputs an array if given an array,
or an object if given an object.
Expand Down Expand Up @@ -945,7 +945,7 @@ sections:
`map(f)` is equivalent to `[.[] | f]` and
`map_values(f)` is equivalent to `.[] |= f`.
In fact, these are their implementations.
Expand All @@ -969,8 +969,8 @@ sections:

- title: "`pick(pathexps)`"
body: |
Emit the projection of the input object or array defined by the specified
Emit the projection of the input object or array defined by the specified
sequence of path expressions, such that if p is any one of these specifications,
then `(. | p)` will evaluate to the same value as `(. | pick(pathexps) | p)`.
For arrays, negative indices and .[m:n] specifications should not be used.
Expand Down
2 changes: 1 addition & 1 deletion jq.1.prebuilt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c99981c

Please sign in to comment.