Skip to content

Conversation

ggodik
Copy link

@ggodik ggodik commented Apr 4, 2022

Found a few windows specific unit test issues

  • config.TestReadFromFile breaks because windows reads in carriage returns and the hardcoded string does not have these. Fixed by making test content on the fly.
  • util.GetLockName failes because the expected output does not contain a file with .exe extension. Fixed by removing .exe on Windows
  • moved magic file length constant 1000 to ConfigMaxSize

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