Improved unit tests coverage

This commit is contained in:
Sun Knudsen 2021-04-19 13:43:55 -04:00
parent b5ca6cc946
commit d02d4b2378
No known key found for this signature in database
GPG key ID: 1FA767862BBD1305
11 changed files with 107 additions and 15 deletions

View file

@ -15,7 +15,7 @@ test_label "Should restore secret using 2-of-3 Shamir Secret Sharing"
source ./tests/helpers/shamir-2-of-3-restore.exp
regsub -all {(\e\(B)?\e\[[0-9]*?m} $restored_secret {} restored_secret
regsub -all {\033\[[0-9]*m(\017)?} $restored_secret {} restored_secret
regsub -all {\r} $restored_secret {} restored_secret
if { "$restored_secret" != "$secret" } {