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

Updated tests in posix module #20

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Updated tests in posix module #20

merged 1 commit into from
Oct 11, 2024

Conversation

pasabanov
Copy link
Owner

Types of changes

  • Testing

Related: #1, #10

Description

This pull request includes several additions to the test cases in the src/posix.rs file to improve coverage.

Enhancements to test cases:

  1. Added an assertion to check the into_inner method of PosixLocale to validate the internal state for every test case.
  2. Added one more "Litter" test case for PosixLocale.
  3. Added two more "Malformed" test cases for best_matching_locale.

@pasabanov pasabanov added the tests Adding or fixing tests label Oct 11, 2024
@pasabanov pasabanov self-assigned this Oct 11, 2024
@pasabanov pasabanov merged commit 550a23d into main Oct 11, 2024
3 checks passed
@pasabanov pasabanov deleted the posix branch October 11, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Adding or fixing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant