aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-11-09 00:09:24 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-11-09 00:09:24 +0800
commit88547a1c660f330614ad1a9621f06a93d989bd09 (patch)
tree559ab32cef86bdbe8b2944910d0499d459b3a0e1
parent7a30e8cf6edd3749e908913794aa6b195ba7520b (diff)
downloaddexon-solidity-88547a1c660f330614ad1a9621f06a93d989bd09.tar.gz
dexon-solidity-88547a1c660f330614ad1a9621f06a93d989bd09.tar.zst
dexon-solidity-88547a1c660f330614ad1a9621f06a93d989bd09.zip
test: fix a typo in calling_payable test
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index 640cc108..83292501 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -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)(); }
}
)";