mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
The EFF short wordlist 2.0 contains the word "yo-yo". The word-count assertion in generated_passphrase_respects_word_count_and_separator split the generated phrase on "-", so any draw containing "yo-yo" produced one extra part and failed the count assertion (~0.5% of runs — bit Desktop Core on run 31915536337). The sibling clamps test already documents this trap and uses "|"; do the same here. Co-authored-by: Thomas Petersen <thomasp@squareup.com> Signed-off-by: Thomas Petersen <thomasp@squareup.com>