Skip to content

Commit

Permalink
Fix typos (#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
p-wall committed Sep 26, 2023
1 parent c750f1a commit 05ad1da
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
Expand Up @@ -167,7 +167,7 @@ testLeadingSeparatorExtractFieldMultiDocWithComments() {
---
# there
a: test
# whereever
# wherever
---
# you are
a: test2
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/yqlib/candidate_node.go
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/yqlib/doc/usage/csv-tsv.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/yqlib/doc/usage/headers/csv-tsv.md
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions project-words.txt
Expand Up @@ -161,7 +161,7 @@ Oneshot
opencollect
opstack
orderedmap
orignal
original
osarch
overridign
pacman
Expand Down Expand Up @@ -239,7 +239,7 @@ Warningf
Wazowski
webi
Webi
whereever
wherever
winget
withdots
wizz
Expand Down
2 changes: 1 addition & 1 deletion release_notes.txt
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion scripts/shunit2
Expand Up @@ -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_}"
Expand Down

0 comments on commit 05ad1da

Please sign in to comment.