JetBrains / ForTea

Apache License 2.0
56 stars 10 forks source link

Unit tests depend on `core.autocrlf` in Git #49

Open ForNeVeR opened 3 years ago

ForNeVeR commented 3 years ago

(I'm testing that on Windows; initially found the issue because I have core.autocrlf=input defined globally)

core.autocrlf=true

  1. git -c core.autocrlf=true clone git@github.com:JetBrains/ForTea.git
  2. Run backend tests
  3. Result: all tests are green

core.autocrlf=false

  1. git -c core.autocrlf=false clone git@github.com:JetBrains/ForTea.git
  2. Run backend tests
  3. Result: certain tests are red image