running 7 tests
test shell::command_parser::tests::test_append ... ok
test shell::command_parser::tests::test_pipe ... ok
test shell::command_parser::tests::test_background ... ok
test shell::command_parser::tests::test_complex_command ... FAILED
test shell::command_parser::tests::test_error_redirection ... FAILED
test shell::command_parser::tests::test_simple_command ... ok
test shell::command_parser::tests::test_redirections ... ok
failures:
---- shell::command_parser::tests::test_complex_command stdout ----
thread 'shell::command_parser::tests::test_complex_command' panicked at src/shell/command_parser.rs:320:9:
assertion `left == right` failed
left: ["grep", "fn main", "2"]
right: ["grep", "fn main"]
---- shell::command_parser::tests::test_error_redirection stdout ----
thread 'shell::command_parser::tests::test_error_redirection' panicked at src/shell/command_parser.rs:290:9:
assertion `left == right` failed
left: ["program.c", "2"]
right: ["program.c"]
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
shell::command_parser::tests::test_complex_command
shell::command_parser::tests::test_error_redirection
test result: FAILED. 5 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: test failed, to rerun pass `--bin llm-shell`
kreijstal@kreijstalnuc:~/git/llmsh$