From fb5139c3862f89e749bb5ddf9138d5d4c526b159 Mon Sep 17 00:00:00 2001 From: Lokraan Date: Sat, 20 Oct 2018 11:59:57 -0500 Subject: [PATCH] Run mix format, gettext, credo, dialyzer. --- apps/block_scout_web/priv/gettext/default.pot | 20 +++++++++---------- .../priv/gettext/en/LC_MESSAGES/default.po | 20 +++++++++---------- apps/explorer/test/explorer/chain_test.exs | 3 +-- 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 998687ea5f..3e010ddf08 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -478,6 +478,11 @@ msgstr "" msgid "Hash" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:58 +msgid "Hide" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 #: lib/block_scout_web/templates/transaction/_tile.html.eex:46 @@ -776,6 +781,11 @@ msgstr "" msgid "Server Response" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:57 +msgid "Show" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:13 msgid "Show QR Code" @@ -1184,13 +1194,3 @@ msgstr "" #: lib/block_scout_web/views/address_contract_view.ex:15 msgid "true" msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address_transaction/index.html.eex:58 -msgid "Hide" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address_transaction/index.html.eex:57 -msgid "Show" -msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index 34300076ea..2f34bc42a4 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -478,6 +478,11 @@ msgstr "" msgid "Hash" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:58 +msgid "Hide" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 #: lib/block_scout_web/templates/transaction/_tile.html.eex:46 @@ -776,6 +781,11 @@ msgstr "" msgid "Server Response" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:57 +msgid "Show" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:13 msgid "Show QR Code" @@ -1184,13 +1194,3 @@ msgstr "" #: lib/block_scout_web/views/address_contract_view.ex:15 msgid "true" msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address_transaction/index.html.eex:58 -msgid "Hide" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address_transaction/index.html.eex:57 -msgid "Show" -msgstr "" diff --git a/apps/explorer/test/explorer/chain_test.exs b/apps/explorer/test/explorer/chain_test.exs index ab27c9ca8b..22e6842cd3 100644 --- a/apps/explorer/test/explorer/chain_test.exs +++ b/apps/explorer/test/explorer/chain_test.exs @@ -723,8 +723,7 @@ defmodule Explorer.ChainTest do hash_str = "0xcbbcd5ac86f9a50e13313633b262e16f695a90c2" {:ok, hash} = Chain.string_to_address_hash(hash_str) - assert {:ok, %Chain.Address{hash: hash}} = - Chain.find_or_insert_address_from_hash(hash) + assert {:ok, %Chain.Address{hash: hash}} = Chain.find_or_insert_address_from_hash(hash) end end