change the allowed evm versions values for tests

pull/1964/head
Victor Baranov 6 years ago
parent 568a74f586
commit 3b9169fb23
  1. 18
      apps/explorer/test/explorer/smart_contract/solidity/code_compiler_test.exs

@ -272,12 +272,9 @@ defmodule Explorer.SmartContract.Solidity.CodeCompilerTest do
describe "allowed_evm_versions/0" do
@allowed_evm_versions_pattern '[
"homestead",
"tangerineWhistle",
"spuriousDragon",
"byzantium",
"constantinople",
"petersburg2"
"CustomEVM1",
"CustomEVM2",
"CustomEVM3"
]'
test "returns default_allowed_evm_versions" do
@ -290,12 +287,9 @@ defmodule Explorer.SmartContract.Solidity.CodeCompilerTest do
response = CodeCompiler.allowed_evm_versions()
assert response = [
"homestead",
"tangerineWhistle",
"spuriousDragon",
"byzantium",
"constantinople",
"petersburg2"
"CustomEVM1",
"CustomEVM2",
"CustomEVM3"
]
end
end

Loading…
Cancel
Save