https://infracost.io logo
#contributors
Title
# contributors
c

colossal-table-21540

10/13/2022, 1:31 PM
I am having issues with running any test on my windows machine. For example the following test is failing on my machine but it is green on Github action which makes me think that the is related somehow character set of windows. I wonder if any of you has the same issue:
p

polite-engineer-31217

10/13/2022, 1:36 PM
Hi @colossal-table-21540, this is a question you should ask in #help instead of #contributors ๐Ÿ™‚
c

colossal-table-21540

10/13/2022, 1:38 PM
Hi @polite-engineer-31217, that was Tim's suggestion really :)
p

polite-engineer-31217

10/13/2022, 1:39 PM
then youโ€™re at the right place ๐Ÿ˜„
c

colossal-table-21540

10/13/2022, 1:40 PM
๐Ÿ˜„
b

busy-agent-35515

10/13/2022, 3:08 PM
Hi Fatih! Let me try to run it on my Windows machine, and I'll get back to you with the results
Yeah it fails for me as well, I assume because of end of line character differences. As a first thought for a workaround you could run the test with
-update
flag which will update the golden files. Unfortunately, it will create a diff that would look empty on the first sight. It can unblock you though. Another alternative would be using WSL with Linux VM. This way you could run the tests in Linux environment.
c

colossal-table-21540

10/13/2022, 7:14 PM
Thanks Vadim, I will try your suggestions