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

Rfoxkendo/issue1 #2

Merged
merged 3 commits into from
Apr 4, 2024
Merged

Rfoxkendo/issue1 #2

merged 3 commits into from
Apr 4, 2024

Conversation

rfoxkendo
Copy link
Contributor

Resolves issue #1

  • created failgin test map_tests::map_fail2
  • Fixed RIngBufferMap::check_magic private function so that if str::from_utf8 call failed it returns false.
    Note all tests must be run with threading off since there's only one ring buffer against which things are tested.

The env variable RUST_TEST_THREADS=1 will force that as as will cargo test -- --test-threads=1,

Add check for failure of str::from_utf8 call returning OK an dif not,
return false.
@rfoxkendo rfoxkendo merged commit 527b27b into master Apr 4, 2024
1 check passed
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.

1 participant