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

Add lipsum_words_from_seed helper function #65

Merged
merged 1 commit into from
Jul 6, 2020
Merged

Conversation

mgeisler
Copy link
Owner

@mgeisler mgeisler commented Jul 6, 2020

I noticed that I often need to generate a deterministic string of
random words in unit tests. This helper function does this.

Since we need a concrete RNG for this, rand_chacha is now an
explicit dependency of lipsum. We already had an indirect dependency
on this crate since rand pulls in rand_chacha by default.

I noticed that I often need to generate a deterministic string of
random words in unit tests. This helper function does this.

Since we need a concrete RNG for this, `rand_chacha` is now an
explicit dependency of `lipsum`. We already had an indirect dependency
on this crate since `rand` pulls in `rand_chacha` by default.
@codecov-commenter
Copy link

codecov-commenter commented Jul 6, 2020

Codecov Report

Merging #65 into master will decrease coverage by 4.43%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   96.64%   92.20%   -4.44%     
==========================================
  Files           2        2              
  Lines         149      154       +5     
==========================================
- Hits          144      142       -2     
- Misses          5       12       +7     
Impacted Files Coverage Δ
src/lib.rs 91.89% <25.00%> (-4.62%) ⬇️

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 2808ead...a167a0e. Read the comment docs.

@mgeisler mgeisler merged commit 9882520 into master Jul 6, 2020
@mgeisler mgeisler deleted the words-from-seed branch April 25, 2021 05:46
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