diff --git a/crates/deno_task_shell/src/parser.rs b/crates/deno_task_shell/src/parser.rs index 42f2629..1bca47d 100644 --- a/crates/deno_task_shell/src/parser.rs +++ b/crates/deno_task_shell/src/parser.rs @@ -747,7 +747,6 @@ fn parse_word(pair: Pair) -> Result { for part in pair.into_inner() { match part.as_rule() { Rule::UNQUOTED_ESCAPE_CHAR => { - println!("part: {:?}", part); if let Some(WordPart::Text(ref mut text)) = parts.last_mut() { text.push(part.as_str().chars().next().unwrap()); } else { diff --git a/crates/deno_task_shell/src/shell/test.rs b/crates/deno_task_shell/src/shell/test.rs index 31bc9c0..f4e48f5 100644 --- a/crates/deno_task_shell/src/shell/test.rs +++ b/crates/deno_task_shell/src/shell/test.rs @@ -1498,4 +1498,4 @@ async fn multiline() { .await; insta::assert_snapshot!(stdout); -} \ No newline at end of file +} diff --git a/crates/deno_task_shell/src/shell/test_builder.rs b/crates/deno_task_shell/src/shell/test_builder.rs index 1f2e856..858a670 100644 --- a/crates/deno_task_shell/src/shell/test_builder.rs +++ b/crates/deno_task_shell/src/shell/test_builder.rs @@ -266,7 +266,6 @@ impl TestBuilder { "\n\nFailed for: {}", self.command ); - for assertion in &self.assertions { match assertion { diff --git a/crates/shell/src/completion.rs b/crates/shell/src/completion.rs index 70d7a52..819eb5c 100644 --- a/crates/shell/src/completion.rs +++ b/crates/shell/src/completion.rs @@ -38,7 +38,7 @@ impl Completer for ShellCompleter { } fn extract_word(line: &str, pos: usize) -> (usize, &str) { - if line.ends_with(" ") { + if line.ends_with(' ') { return (pos, ""); } let words: Vec<_> = line[..pos].split_whitespace().collect();