Skip to content

Commit 3c11c46

Browse files
committed
change type of exception in test
1 parent c669f68 commit 3c11c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth_client/test/eth_client_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ defmodule EthClientTest do
2828

2929
@tag bin: @bin, abi: @abi
3030
test "[FAILURE] invokes a function with incorrect amount of params" do
31-
assert_raise UndefinedFunctionError, fn -> EthClient.invoke("store(uint256)", []) end
31+
assert_raise FunctionClauseError, fn -> EthClient.invoke("store(uint256)", []) end
3232
end
3333

3434
@tag bin: @bin, abi: @abi

0 commit comments

Comments
 (0)