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

QuantityFormatterTests: Formatting the 'expected' values using the CurrentUICulture #839

Merged

Conversation

lipchev
Copy link
Collaborator

@lipchev lipchev commented Sep 21, 2020

  • var expected = string.Format(CultureInfo.CurrentUICulture, ...) as per the defaultCulture of the QuantityFormatter.Format method overload

PS This might have to get reverted after #795 is merged, but I suggest updating this so that it is consistent with the currently tested behavior (there are currently 17 tests failing on my machine)

…rrentUICulture

- var expected = string.Format(CultureInfo.CurrentUICulture, ...) as per the defaultCulture of the QuantityFormatter.Format method overload
@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2020

Codecov Report

Merging #839 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #839   +/-   ##
=======================================
  Coverage   80.54%   80.54%           
=======================================
  Files         281      281           
  Lines       41925    41925           
=======================================
  Hits        33770    33770           
  Misses       8155     8155           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca373f7...075692b. Read the comment docs.

@angularsen angularsen merged commit a7e5516 into angularsen:master Sep 21, 2020
@angularsen
Copy link
Owner

Thanks! We'll revisit in #795.

@angularsen
Copy link
Owner

@lipchev lipchev deleted the QuantityFormatterTestsCultureFix branch April 27, 2021 16:08
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.

3 participants