mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Fix typos (#1798)
This commit is contained in:
parent
c750f1a48c
commit
05ad1dad90
@ -167,7 +167,7 @@ testLeadingSeparatorExtractFieldMultiDocWithComments() {
|
||||
---
|
||||
# there
|
||||
a: test
|
||||
# whereever
|
||||
# wherever
|
||||
---
|
||||
# you are
|
||||
a: test2
|
@ -111,7 +111,7 @@ func (n *CandidateNode) createChildPath(path interface{}) []interface{} {
|
||||
return newPath
|
||||
}
|
||||
|
||||
//don't use append as they may actually modify the path of the orignal node!
|
||||
//don't use append as they may actually modify the path of the original node!
|
||||
newPath := make([]interface{}, len(n.Path)+1)
|
||||
copy(newPath, n.Path)
|
||||
newPath[len(n.Path)] = path
|
||||
|
@ -2,7 +2,7 @@
|
||||
Encode/Decode/Roundtrip CSV and TSV files.
|
||||
|
||||
## Encode
|
||||
Currently supports arrays of homogenous flat objects, that is: no nesting and it assumes the _first_ object has all the keys required:
|
||||
Currently supports arrays of homogeneous flat objects, that is: no nesting and it assumes the _first_ object has all the keys required:
|
||||
|
||||
```yaml
|
||||
- name: Bobo
|
||||
|
@ -2,7 +2,7 @@
|
||||
Encode/Decode/Roundtrip CSV and TSV files.
|
||||
|
||||
## Encode
|
||||
Currently supports arrays of homogenous flat objects, that is: no nesting and it assumes the _first_ object has all the keys required:
|
||||
Currently supports arrays of homogeneous flat objects, that is: no nesting and it assumes the _first_ object has all the keys required:
|
||||
|
||||
```yaml
|
||||
- name: Bobo
|
||||
|
@ -161,7 +161,7 @@ Oneshot
|
||||
opencollect
|
||||
opstack
|
||||
orderedmap
|
||||
orignal
|
||||
original
|
||||
osarch
|
||||
overridign
|
||||
pacman
|
||||
@ -239,7 +239,7 @@ Warningf
|
||||
Wazowski
|
||||
webi
|
||||
Webi
|
||||
whereever
|
||||
wherever
|
||||
winget
|
||||
withdots
|
||||
wizz
|
||||
|
@ -104,7 +104,7 @@
|
||||
- Fixed sorting by date #1412
|
||||
- Added check to ensure only maps can be encoded to XML #1408
|
||||
- Check merge alias is a map #1425
|
||||
- Explicity setting unwrap flag works for json output #437, #1409
|
||||
- Explicitly setting unwrap flag works for json output #437, #1409
|
||||
- Bumped go version
|
||||
|
||||
|
||||
|
@ -1306,7 +1306,7 @@ if command [ "$#" -ge 2 ]; then
|
||||
# Argument $1 is either the filename of tests or '--'; either way, skip it.
|
||||
shift
|
||||
# Remaining arguments ($2 .. $#) are assumed to be test function names.
|
||||
# Interate through all remaining args in "$@" in a POSIX (likely portable) way.
|
||||
# Iterate through all remaining args in "$@" in a POSIX (likely portable) way.
|
||||
# Helpful tip: https://unix.stackexchange.com/questions/314032/how-to-use-arguments-like-1-2-in-a-for-loop
|
||||
for _shunit_arg_ do
|
||||
suite_addTest "${_shunit_arg_}"
|
||||
|
Loading…
Reference in New Issue
Block a user