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

Fix unlucky xml writer tests #3533

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Mar 31, 2022

Description

Event log tests grab real events from event log, when we are unlucky we get message that contains special character that is escaped in xml and the string we write to file no longer matches the raw string we get from the event, so the mock fails.

Escaping the raw message streing into XML to fix this.

@nohwnd nohwnd merged commit 8f67269 into microsoft:main Mar 31, 2022
@nohwnd nohwnd deleted the fix-unlucky-xml-writer-tests branch March 31, 2022 12:31
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