Fix failing Windows tests
Our Windows CI tests are currently failing post the merge of https://github.com/JabRef/jabref/pull/15316 The report can be viewed at https://github.com/JabRef/jabref/actions/runs/24270384479/job/70874031816
The task is to fix these tests, and if there is intentional windows-specific handling involved in the logic, mark the tests enabled only on Windows.
For future, to catch this early during development in future, the Windows-based CI checks have been enabled in https://github.com/JabRef/jabref/pull/15530. The tests were initially disabled because Windows-specific test failures did not come up often, and the tests took a long time (~33min).
@pluto-han could you check if these are indeed related to the changes made in the linked PR?
could you check if these are indeed related to the changes made in the linked PR?
Yes. I used the linebreak unifier in RelatedWorkInserter according to https://github.com/JabRef/jabref/pull/15316#discussion_r2943267849, but forgot to change RelatedWorkInserterTest. It explains why test passes on my mac but fails on windows, I should have tested it on multiple platforms...
/assign-me
⚠️ Issue Already Assigned
Hi @programmer1128, this issue is currently assigned to @pluto-han.
[!NOTE] This issue is pinned and will not be automatically unassigned.
Options for contributors
- Collaborate: You can ask the assignee if they want help
- Maintainer assistance: A maintainer can add you as co-assignee if appropriate
- Wait for completion: The issue will remain assigned until the work is complete
We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.
For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/15538.