Fix overlooked renaming of Português in the unit tests

This commit is contained in:
Nano Akron 2017-05-07 16:36:03 +01:00
parent 694470fae7
commit d1db32511c
1 changed files with 2 additions and 2 deletions

View File

@ -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");
} }