Skip to content

Tests failing in windows due to line endings #39

@magicDGS

Description

@magicDGS

If using git for Windows, the EOL is converted and thus tests relying on reading all bytes from a file are not working. There are two possibilities to fix this problem:

  • Change tests to do not check bytes but lines, removing the system-specific EOL.
  • Add .gitattributes specific for the docs folder, where the line endings are kept as they are (also important for formatting docs, I guess)

In addition, we should test this on the CI (see #38)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions