We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
These should pass:
test "#4" { assert_eq!(::diff::slice(&[1], &[2]), vec![::diff::Result::Left(&1), ::diff::Result::Right(&2)]); assert_eq!(::diff::lines("a", "b"), vec![::diff::Result::Left("a"), ::diff::Result::Right("b")]); }
but they fail with:
thread 'speculate::_::bugs::#4' panicked at 'assertion failed: (left == right) (left: [Right(2), Left(1)], right: [Left(1), Right(2)])', tests/tests.rs:53
(left == right)
[Right(2), Left(1)]
[Left(1), Right(2)]
and
thread 'speculate::_::bugs::#4' panicked at 'assertion failed: (left == right) (left: [Right("b"), Left("a")], right: [Left("a"), Right("b")])', tests/tests.rs:53
[Right("b"), Left("a")]
[Left("a"), Right("b")]
This will probably fix rust-lang/rustfmt#606 too.
The text was updated successfully, but these errors were encountered:
a325f39
No branches or pull requests
These should pass:
but they fail with:
and
This will probably fix rust-lang/rustfmt#606 too.
The text was updated successfully, but these errors were encountered: