Skip to content

Conversation

Fabian-Gruenbichler
Copy link

before: cargo test --features ci

...

running 6 tests
test deserialize_identifier ... ok
test serialize_identifier ... ok
test deserialize_version ... ok
test serialize_version ... ok
test serialize_versionreq ... FAILED
test deserialize_versionreq ... ok

failures:

---- serialize_versionreq stdout ----
thread 'serialize_versionreq' panicked at 'assertion failed: (left == right)
left: "\"=1.0.0\"",
right: "\"= 1.0.0\""', tests/serde.rs:84:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

failures:
serialize_versionreq

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

Fixes: 5e87530 fix tests and formatting to comply with #196

Signed-off-by: Fabian Grünbichler [email protected]

before: `cargo test --features ci`

  ...

  running 6 tests
  test deserialize_identifier ... ok
  test serialize_identifier ... ok
  test deserialize_version ... ok
  test serialize_version ... ok
  test serialize_versionreq ... FAILED
  test deserialize_versionreq ... ok

  failures:

  ---- serialize_versionreq stdout ----
  thread 'serialize_versionreq' panicked at 'assertion failed: `(left == right)`
    left: `"\"=1.0.0\""`,
   right: `"\"= 1.0.0\""`', tests/serde.rs:84:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  failures:
      serialize_versionreq

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

Fixes: 5e87530 fix tests and formatting to comply with dtolnay#196

Signed-off-by: Fabian Grünbichler <[email protected]>
@Fabian-Gruenbichler
Copy link
Author

it might make sense to run the tests with the ci feature enabled in your CI as well - but I leave that change up to ;)

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code change looks good, but this test got deleted recently, which is another way to fix it. 😜 Thanks anyway!

@dtolnay dtolnay closed this May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants