Skip to content
New issue

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

test_char is failing on Fedora #19

Open
ignatenkobrain opened this issue Mar 22, 2020 · 5 comments
Open

test_char is failing on Fedora #19

ignatenkobrain opened this issue Mar 22, 2020 · 5 comments

Comments

@ignatenkobrain
Copy link

---- test_char stdout ----
thread 'test_char' panicked at 'assertion failed: `(left == right)`
  left: `"\'\\u{0}\' \'#\' \'\"\' \'\\\'\' \'\\n\' \'\\u{2764}\'"`,
 right: `"\'\\u{0}\' \'#\' \'\"\' \'\\\'\' \'\\n\' \'\'"`', tests/types.rs:70:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Not sure what other info you need.

@Goncalerta
Copy link
Owner

I'm not sure what is causing this.

Does the same thing happen with the quote crate?

@ignatenkobrain
Copy link
Author

No, the tests from quote crate do not fail for us in the same environment.

@Goncalerta
Copy link
Owner

Goncalerta commented Mar 23, 2020

That is weird. The test interpolates #heart; on the other hand, interpolate_to_tokens_ident just calls append_to_tokens, which calls the same trait as the original crate.

I'm gonna temporarily remove the heart test, so it doesn't block you until the problem is understood.

@ignatenkobrain
Copy link
Author

No need to disable it, I am skipping it when packaging.

@Goncalerta
Copy link
Owner

It was also making travis mysteriously fail since last commit (although it still works fine on my machine and the only change in that commit was the new license files, which have no impact on this). So it is indeed a very strange behavior.

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

No branches or pull requests

2 participants