mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-11 22:37:11 +00:00
Import multiple language wordbanks, test them
This commit is contained in:
parent
2c0d52f4b5
commit
1e978ba838
@ -146,7 +146,7 @@ func getDiffWord(c WordCodec, not string) string {
|
||||
func TestCheckTypoDetection(t *testing.T) {
|
||||
assert, require := assert.New(t), require.New(t)
|
||||
|
||||
banks := []string{"english"}
|
||||
banks := []string{"english", "spanish", "japanese", "chinese_simplified"}
|
||||
|
||||
for _, bank := range banks {
|
||||
codec, err := LoadCodec(bank)
|
||||
|
2048
keys/wordlist/chinese_simplified.txt
Normal file
2048
keys/wordlist/chinese_simplified.txt
Normal file
File diff suppressed because it is too large
Load Diff
2048
keys/wordlist/japanese.txt
Normal file
2048
keys/wordlist/japanese.txt
Normal file
File diff suppressed because it is too large
Load Diff
2048
keys/wordlist/spanish.txt
Normal file
2048
keys/wordlist/spanish.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user