Skip to content

Fix tests in WmlToHtmlConverterTests never failing#117

Merged
stesee merged 1 commit intoCodeuctivity:mainfrom
huan086:main
Feb 12, 2025
Merged

Fix tests in WmlToHtmlConverterTests never failing#117
stesee merged 1 commit intoCodeuctivity:mainfrom
huan086:main

Conversation

@huan086
Copy link

@huan086 huan086 commented Feb 12, 2025

Assert.Fail throws Xunit.Sdk.FailException. However, in WmlToHtmlConverterTests.AssertImageIsEqual method, there is a try-catch block surrounding Assert.Fail, thus all tests passes despite the generated image from HTML not matching what is expected.

The following 2 tests are failing
HC007-Test-02 - due to incorrect additional spaces
HC010-Test-05 - due to font size differences

@huan086 huan086 requested a review from stesee as a code owner February 12, 2025 06:23
@github-actions
Copy link

github-actions bot commented Feb 12, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@huan086
Copy link
Author

huan086 commented Feb 12, 2025

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Feb 12, 2025
@stesee stesee merged commit 3b2af9a into Codeuctivity:main Feb 12, 2025
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants