-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnitParser.TryParse doesn't try with FallbackCulture (v6) (#1466)
Fixes #1443 - [x] `UnitParser`: extracting a `FindMatchingUnits` function (used by both `Parse` and `TryParse` for a given abbreviation and culture) - [x] `UnitAbbreviationsCache`: just a cosmetic change (flipping the order of the items in the tuple) - [x] `UnitParserTests`: added the missing tests for the `FallbackCulture` - [x] `UnitTestBaseClassGenerator`: improving the code-coverage of the `ParseUnit` and `TryParseUnit` tests (parsing without specifying a culture, which should always work with abbreviations for the `FallbackCulture`) - Add some extra tests regarding CurrentCulture and explicit culture for parsing --------- Co-authored-by: Andreas Gullberg Larsen <[email protected]>
- Loading branch information
1 parent
dc10bf7
commit 9fbd6b4
Showing
128 changed files
with
24,374 additions
and
24,909 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.