Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #1798

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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