Skip to content

Commit

Permalink
Merge pull request libbitcoin#529 from evoskuil/master
Browse files Browse the repository at this point in the history
Fix up bx test case for vc++ utf8.
  • Loading branch information
evoskuil authored Feb 24, 2018
2 parents 85afd8d + c0b7e38 commit 58ed871
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/commands/electrum-new.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ BOOST_AUTO_TEST_CASE(electrum_new__invoke__en_dictionary_prefix__okay_output)

BOOST_AUTO_TEST_CASE(electrum_new__invoke__es_dictionary_prefix__okay_output)
{
// Required for proper initialization of a non-ascii dictionary in vc++.
set_utf8_stdout();

// Verify the UTF8 initialization.
BOOST_REQUIRE(bc::wallet::language::es[0] == std::string("ábaco"));

BX_DECLARE_COMMAND(electrum_new);
command.set_seed_argument({ "05e669b4270f4e25bce6fc3736170d423c" });
command.set_language_option({ "es" });
Expand Down

0 comments on commit 58ed871

Please sign in to comment.