mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
test: fix a typo in calling_payable test
This commit is contained in:
parent
7a30e8cf6e
commit
88547a1c66
@ -4015,8 +4015,8 @@ BOOST_AUTO_TEST_CASE(calling_payable)
|
||||
char const* text = R"(
|
||||
contract receiver { function pay() payable {} }
|
||||
contract test {
|
||||
funciton f() { (new receiver()).pay.value(10)(); }
|
||||
recevier r = new receiver();
|
||||
function f() { (new receiver()).pay.value(10)(); }
|
||||
receiver r = new receiver();
|
||||
function g() { r.pay.value(10)(); }
|
||||
}
|
||||
)";
|
||||
|
Loading…
Reference in New Issue
Block a user