This commit is contained in:
-pthread -Wall 2023-09-26 06:18:18 +02:00 committed by GitHub
parent c750f1a48c
commit 05ad1dad90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 8 additions and 8 deletions

View File

@ -167,7 +167,7 @@ testLeadingSeparatorExtractFieldMultiDocWithComments() {
--- ---
# there # there
a: test a: test
# whereever # wherever
--- ---
# you are # you are
a: test2 a: test2

View File

@ -111,7 +111,7 @@ func (n *CandidateNode) createChildPath(path interface{}) []interface{} {
return newPath 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) newPath := make([]interface{}, len(n.Path)+1)
copy(newPath, n.Path) copy(newPath, n.Path)
newPath[len(n.Path)] = path newPath[len(n.Path)] = path

View File

@ -2,7 +2,7 @@
Encode/Decode/Roundtrip CSV and TSV files. Encode/Decode/Roundtrip CSV and TSV files.
## Encode ## 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 ```yaml
- name: Bobo - name: Bobo

View File

@ -2,7 +2,7 @@
Encode/Decode/Roundtrip CSV and TSV files. Encode/Decode/Roundtrip CSV and TSV files.
## Encode ## 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 ```yaml
- name: Bobo - name: Bobo

View File

@ -161,7 +161,7 @@ Oneshot
opencollect opencollect
opstack opstack
orderedmap orderedmap
orignal original
osarch osarch
overridign overridign
pacman pacman
@ -239,7 +239,7 @@ Warningf
Wazowski Wazowski
webi webi
Webi Webi
whereever wherever
winget winget
withdots withdots
wizz wizz

View File

@ -104,7 +104,7 @@
- Fixed sorting by date #1412 - Fixed sorting by date #1412
- Added check to ensure only maps can be encoded to XML #1408 - Added check to ensure only maps can be encoded to XML #1408
- Check merge alias is a map #1425 - 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 - Bumped go version

View File

@ -1306,7 +1306,7 @@ if command [ "$#" -ge 2 ]; then
# Argument $1 is either the filename of tests or '--'; either way, skip it. # Argument $1 is either the filename of tests or '--'; either way, skip it.
shift shift
# Remaining arguments ($2 .. $#) are assumed to be test function names. # 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 # Helpful tip: https://unix.stackexchange.com/questions/314032/how-to-use-arguments-like-1-2-in-a-for-loop
for _shunit_arg_ do for _shunit_arg_ do
suite_addTest "${_shunit_arg_}" suite_addTest "${_shunit_arg_}"