Previously, the test case was assuming the wrong regex. In particular, the default word list (eff_large.wordlist) contains several words that contain dashes (example). Adjust the regex used in the test to reflect this. This should fix rare test failures (example).
Additionally, if this test case ever fails again, the error message will include the generated passphrase, to make debugging easier.
Type of change
✅ Bug fix (non-breaking change that fixes an issue)
Previously, the test case was assuming the wrong regex. In particular, the default word list (
eff_large.wordlist
) contains several words that contain dashes (example). Adjust the regex used in the test to reflect this. This should fix rare test failures (example).Additionally, if this test case ever fails again, the error message will include the generated passphrase, to make debugging easier.
Type of change