Skip to content

Test failures for latest versionΒ #216

Open
@orhun

Description

Hello! πŸ‘‹πŸΌ

I was packaging cargo-compete for the AUR and got this error:

Logs
failures:

---- atcoder_abc007 stdout ----
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot file: tests/snapshots/new__atcoder_abc007_output.snap
Snapshot: atcoder_abc007_output
Source: tests/new.rs:19
-old snapshot
+new results
────────────────────────────────────────────────────────────────────────────────
output
────────────┬───────────────────────────────────────────────────────────────────
          0 β”‚+warning: "AtCoder Beginner Contest 007" seems to be an ABC. Skipping extracting the time limit and the relative{{ slash_or_backslash }}absolute error, because they are not "specific integers or strings"
    0     1 β”‚      Created `abc007` package at {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc007
    1     2 β”‚        Saved 3 test cases to {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc007{{ slash_or_backslash }}testcases{{ slash_or_backslash }}{a.yml, a{{ slash_or_backslash }}}
    2     3 β”‚        Saved 4 test cases to {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc007{{ slash_or_backslash }}testcases{{ slash_or_backslash }}{b.yml, b{{ slash_or_backslash }}}
    3     4 β”‚        Saved 3 test cases to {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc007{{ slash_or_backslash }}testcases{{ slash_or_backslash }}{c.yml, c{{ slash_or_backslash }}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
thread 'atcoder_abc007' panicked at /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-1.12.0/src/runtime.rs:391:9:
snapshot assertion for 'atcoder_abc007_output' failed in line 19
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- atcoder_abc003 stdout ----
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot file: tests/snapshots/new__atcoder_abc003_output.snap
Snapshot: atcoder_abc003_output
Source: tests/new.rs:11
-old snapshot
+new results
────────────────────────────────────────────────────────────────────────────────
output
────────────┬───────────────────────────────────────────────────────────────────
          0 β”‚+warning: "AtCoder Beginner Contest 003" seems to be an ABC. Skipping extracting the time limit and the relative{{ slash_or_backslash }}absolute error, because they are not "specific integers or strings"
    0     1 β”‚      Created `abc003` package at {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc003
    1     2 β”‚        Saved 2 test cases to {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc003{{ slash_or_backslash }}testcases{{ slash_or_backslash }}{a.yml, a{{ slash_or_backslash }}}
    2     3 β”‚        Saved 3 test cases to {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc003{{ slash_or_backslash }}testcases{{ slash_or_backslash }}{b.yml, b{{ slash_or_backslash }}}
    3     4 β”‚        Saved 3 test cases to {{ cwd }}{{ slash_or_backslash }}.{{ slash_or_backslash }}abc003{{ slash_or_backslash }}testcases{{ slash_or_backslash }}{c.yml, c{{ slash_or_backslash }}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
thread 'atcoder_abc003' panicked at /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-1.12.0/src/runtime.rs:391:9:
snapshot assertion for 'atcoder_abc003_output' failed in line 11


failures:
    atcoder_abc003
    atcoder_abc007

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

error: test failed, to rerun pass `--test new`

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions