SteveDunn / Vogen

A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
Apache License 2.0
890 stars 46 forks source link

Use FormattableString.Invariant in culture dependent tests #416

Closed ThomasSkyldahl closed 1 year ago

ThomasSkyldahl commented 1 year ago

When running locally I had a few test cases breaking as we use ',' as the decimal separator in Denmark.

I fixed the test cases by using FormattableString.Invariant() for the expected input