Repository: casey/just
Pull request #1463 (2022-12-30 20:31:20)

Spelling
This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling).

The misspellings have been reported at https://github.com/jsoref/casey-just/actions/runs/3808832177#summary-10368699596

The action reports that the changes in this PR would make it happy: https://github.com/jsoref/casey-just/actions/runs/3808832259#summary-10368699601

Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.


Patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 31d94519..e4c2a5b7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -735,7 +735,7 @@ Changelog
 ### Misc
 - Build and upload release artifacts from GitHub Actions ([#581](https://github.com/casey/just/pull/581))
 - List solus package in readme ([#579](https://github.com/casey/just/pull/579))
-- Expand use of Github Actions ([#580](https://github.com/casey/just/pull/580))
+- Expand use of GitHub Actions ([#580](https://github.com/casey/just/pull/580))
 - Fix readme typo: interpetation -> interpretation ([#578](https://github.com/casey/just/pull/578) by [Plommonsorbet](https://github.com/Plommonsorbet))
 
 [0.5.5](https://github.com/casey/just/releases/tag/v0.5.5) - 2020-1-15
diff --git a/README.md b/README.md
index bbe52cd3..08476db5 100644
--- a/README.md
+++ b/README.md
@@ -1036,7 +1036,7 @@ y := """
 """
 ```
 
-Similar to unindented strings, indented double-quoted strings process escape sequences, and indented single-quoted strings ignore escape sequences. Escape sequence processing takes place after unindentation. The unindention algorithm does not take escape-sequence produced whitespace or newlines into account.
+Similar to unindented strings, indented double-quoted strings process escape sequences, and indented single-quoted strings ignore escape sequences. Escape sequence processing takes place after unindentation. The unindentation algorithm does not take escape-sequence produced whitespace or newlines into account.
 
 ### Ignoring Errors
 
@@ -1248,7 +1248,7 @@ directory that contains the `justfile`. This can be disabled using the
 relative to the invocation directory, or which operate on the current
 directory.
 
-For exmaple, this `commit` recipe:
+For example, this `commit` recipe:
 
 ```just
 [no-cd]
diff --git a/examples/kitchen-sink.just b/examples/kitchen-sink.just
index 5921cc4f..138a6130 100644
--- a/examples/kitchen-sink.just
+++ b/examples/kitchen-sink.just
@@ -188,7 +188,7 @@ variadic $VAR1_1 VAR2 VAR3 VAR4=("a") +$FLAGS='-q': foo2 braces
 
 time:
   @-date +"%H:%S"
-  -cat /tmp/nonexistant_file.txt
+  -cat /tmp/nonexistent_file.txt
   @echo "finished"
 
 justwords:
diff --git a/src/expression.rs b/src/expression.rs
index 32604c11..f7e95987 100644
--- a/src/expression.rs
+++ b/src/expression.rs
@@ -91,7 +91,7 @@ impl<'src> Serialize for Expression<'src> {
       Self::Call { thunk } => thunk.serialize(serializer),
       Self::Concatenation { lhs, rhs } => {
         let mut seq = serializer.serialize_seq(None)?;
-        seq.serialize_element("concatinate")?;
+        seq.serialize_element("concatenate")?;
         seq.serialize_element(lhs)?;
         seq.serialize_element(rhs)?;
         seq.end()
diff --git a/src/lexer.rs b/src/lexer.rs
index 2f303012..899fc71d 100644
--- a/src/lexer.rs
+++ b/src/lexer.rs
@@ -269,7 +269,7 @@ impl<'src> Lexer<'src> {
     matches!(c, 'a'..='z' | 'A'..='Z' | '_')
   }
 
-  /// True if `c` can be a continuation character of an idenitifier
+  /// True if `c` can be a continuation character of an identifier
   fn is_identifier_continue(c: char) -> bool {
     if Self::is_identifier_start(c) {
       return true;
diff --git a/src/parser.rs b/src/parser.rs
index eeb53dff..10a207ef 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -992,7 +992,7 @@ mod tests {
   }
 
   test! {
-    name: alias_with_attributee,
+    name: alias_with_attribute,
     text: "[private]\nalias t := test",
     tree: (justfile (alias t test)),
   }


Test patch:
diff --git a/tests/fmt.rs b/tests/fmt.rs
index 3c972eda..37862424 100644
--- a/tests/fmt.rs
+++ b/tests/fmt.rs
@@ -251,7 +251,7 @@ test! {
 }
 
 test! {
-  name: assignment_parenthized_expression,
+  name: assignment_parenthesized_expression,
   justfile: "
     foo := ('foo')
   ",
diff --git a/tests/ignore_comments.rs b/tests/ignore_comments.rs
index 1badd4c9..1dc961f1 100644
--- a/tests/ignore_comments.rs
+++ b/tests/ignore_comments.rs
@@ -85,7 +85,7 @@ fn continuations_with_echo_comments_true() {
 }
 
 #[test]
-fn dont_evalute_comments() {
+fn dont_evaluate_comments() {
   Test::new()
     .justfile(
       "
diff --git a/tests/json.rs b/tests/json.rs
index 2927fb34..a00b2b9f 100644
--- a/tests/json.rs
+++ b/tests/json.rs
@@ -231,7 +231,7 @@ fn dependency_argument() {
             "arguments": [
               "baz",
               "baz",
-              ["concatinate", "a", "b"],
+              ["concatenate", "a", "b"],
               ["evaluate", "echo"],
               ["variable", "x"],
               ["if", "==", "a", "b", "c", "d"],
diff --git a/tests/windows_shell.rs b/tests/windows_shell.rs
index be930346..ca6beaaa 100644
--- a/tests/windows_shell.rs
+++ b/tests/windows_shell.rs
@@ -19,7 +19,7 @@ fn windows_shell_setting() {
 }
 
 #[test]
-fn windows_powershell_setting_uses_powershell() {
+fn windows_powershell_setting_uses_powershell_set_shell() {
   Test::new()
     .justfile(
       r#"
@@ -37,7 +37,7 @@ fn windows_powershell_setting_uses_powershell() {
 }
 
 #[test]
-fn windows_poweshell_setting_uses_powershell() {
+fn windows_powershell_setting_uses_powershell() {
   Test::new()
     .justfile(
       r#"