Closed mvondracek closed 5 years ago
Should wait until #41 gets merged.
@lsolodkova could you please take this?
How can we unit-test non-Unicode entropy and seed? As far as I understand, if we generate entropy/seed in getinvalid* function, we later open it in the same mode it was generated and written to file. And we write it (e.g., test_generate_invalid_entropy) in default UTF-8 (or not, since we do not specify the encoding).
Is currently reported as
UNKNOWN_FAILURE = 1
. Would be better to report it asEX_DATAERR = 65
frommnemoniccli.ExitCode.EX_DATAERR
.