Skip to content

cargo test fails on macOS #1

@alekseysidorov

Description

@alekseysidorov
$ cargo test

running 1 test
test add_issue_test_cases ... FAILED

failures:

---- add_issue_test_cases stdout ----

# Add issue to project
Testing: ["todo new \"project A\""]
Testing: ["todo new --with-manifest \"project B\""]
Testing: ["todo add \"task 1\""]

thread 'add_issue_test_cases' panicked at cli/tests/common/case.rs:217:9:
assertion `left == right` failed: Command `todo add "task 1"` in source tests/add_issue.md:17
  left: "Error: could not find `Project.toml` or `*.manifest.md` in `/private/var/folders/90/2tb9p9hs3mq4gtj1_dcvtfxw0000gn/T/rstest` or any parent directory\n"
 right: "Error: could not find `Project.toml` or `*.manifest.md` in `/var/folders/90/2tb9p9hs3mq4gtj1_dcvtfxw0000gn/T/rstest` or any parent directory\n"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    add_issue_test_cases

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s

error: test failed, to rerun pass `-p todo-cli --test add_issue`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions