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

Make the tests pass on Unix. #500

Merged
merged 1 commit into from
Oct 14, 2022
Merged

Conversation

MarkKharitonov
Copy link
Contributor

3 kinds of changes had to be made to the unit tests only:

  1. Use / as path separator - understood both on Windows and Unix
  2. Use Environment.NewLine where appropriate instead of hard coding \r\n
  3. Fix the unit tests to use the en-US culture.

The last point raises a question - should the razor engine allow its clients to provide a culture to be used when rendering? After all, the Asp.Net Core does allow to modify the culture through app config or for a single page. But here we do not seem to support it.

@jzabroski jzabroski added this to the 2.2.0 milestone Oct 14, 2022
@jzabroski jzabroski merged commit 39e6587 into toddams:master Oct 14, 2022
@jzabroski
Copy link
Collaborator

@MarkKharitonov Thanks, I will focus on getting this up tonight.

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

2 participants