Skip to content

Testcase failure due to extra space in the expected result of assert_eq (Issue 14) #15

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

Closed
wants to merge 1 commit into from

Conversation

ranraj
Copy link

@ranraj ranraj commented May 29, 2021

All failures are due to a formatting issue during assert_eq.
There is extra space in the expected String.

Fix: All the extra space can be removed by comparing test result using the comparison tool

Issue : #14

RCA :
attribute.rs tests were failing

Actual struct

#[yaserde(prefix = "xs", attribute)]

Expected

r#"# [ yaserde ( attribute ) ] pub language : String ,"#

Commit :
https://github.com/ranraj/xml-schema/commit/208ddd87a0786be11220d3faeedfe57681bd1040

@ranraj
Copy link
Author

ranraj commented May 30, 2021

Build failed for rust version 1.40.0 and 1.41.0 due to the below issue in
rust-lang/rust#65721 for sub dependency tracing-core v0.1.18 under reqwest v0.10.10 dependency
This is the latest tracing-core v0.1.18 version and this issue fixed in the 1.42.0 rust version

Hope we can mark this two version job can be added into expect to fail
@MarcAntoine-Arnaud

@MarcAntoine-Arnaud MarcAntoine-Arnaud changed the base branch from master to main February 8, 2023 02:30
@MarcAntoine-Arnaud
Copy link
Contributor

Sorry, I have looked after I have pushed 4115bde.

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