mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:08:55 +00:00
Fix overlooked renaming of Português in the unit tests
This commit is contained in:
parent
694470fae7
commit
d1db32511c
@ -192,9 +192,9 @@ TEST(mnemonics, language_detection_with_bad_checksum)
|
|||||||
|
|
||||||
res = crypto::ElectrumWords::words_to_bytes(base_seed, key, language_name);
|
res = crypto::ElectrumWords::words_to_bytes(base_seed, key, language_name);
|
||||||
ASSERT_EQ(true, res);
|
ASSERT_EQ(true, res);
|
||||||
ASSERT_STREQ(language_name.c_str(), "Portuguese");
|
ASSERT_STREQ(language_name.c_str(), "Português");
|
||||||
|
|
||||||
res = crypto::ElectrumWords::words_to_bytes(base_seed + " " + real_checksum, key, language_name);
|
res = crypto::ElectrumWords::words_to_bytes(base_seed + " " + real_checksum, key, language_name);
|
||||||
ASSERT_EQ(true, res);
|
ASSERT_EQ(true, res);
|
||||||
ASSERT_STREQ(language_name.c_str(), "Portuguese");
|
ASSERT_STREQ(language_name.c_str(), "Português");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user