Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Unit tests failing due to culture differences #37

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Frooxius
Copy link

@Frooxius Frooxius commented Nov 6, 2023

A number of the Unit tests have been failing on my system straight out of the box, without making any modifications to the library.

I have found that this is due to the system culture being simply assumed to be English / US in some places, but my system culture is actually Czech, so some numbers/things parse/format differently.

This PR fixes those unit tests to respect the provided culture information, rather than just assuming, which makes all the tests fail on my system.

Source generators must use NetStandard 2.0 as per documentation. Having .NET 6 and .NetStandard 2.1 included has been causing VS2022 to load the wrong version and not run the source generator properly
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.

None yet

1 participant