Merge pull request #2016

d1db3251 Fix overlooked renaming of Português in the unit tests (Nano Akron)
This commit is contained in:
Riccardo Spagni 2017-05-30 21:13:22 +02:00
commit 40eb22aeb4
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -192,9 +192,9 @@ TEST(mnemonics, language_detection_with_bad_checksum)
res = crypto::ElectrumWords::words_to_bytes(base_seed, key, language_name);
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);
ASSERT_EQ(true, res);
ASSERT_STREQ(language_name.c_str(), "Portuguese");
ASSERT_STREQ(language_name.c_str(), "Português");
}