aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-11-10 00:51:48 +0800
committerchriseth <c@ethdev.com>2016-11-16 21:37:18 +0800
commitee3efa67a8d3eb4077786fd745c1925a916419f5 (patch)
tree4a0d560893411f18ead71273c5782c0023253594 /test
parent746266b8fc9c94e1a21aa18ad646dda90643a1f7 (diff)
downloaddexon-solidity-ee3efa67a8d3eb4077786fd745c1925a916419f5.tar
dexon-solidity-ee3efa67a8d3eb4077786fd745c1925a916419f5.tar.gz
dexon-solidity-ee3efa67a8d3eb4077786fd745c1925a916419f5.tar.bz2
dexon-solidity-ee3efa67a8d3eb4077786fd745c1925a916419f5.tar.lz
dexon-solidity-ee3efa67a8d3eb4077786fd745c1925a916419f5.tar.xz
dexon-solidity-ee3efa67a8d3eb4077786fd745c1925a916419f5.tar.zst
dexon-solidity-ee3efa67a8d3eb4077786fd745c1925a916419f5.zip
Fix tests.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityABIJSON.cpp2
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityABIJSON.cpp b/test/libsolidity/SolidityABIJSON.cpp
index 0ad9e928..c01ff11b 100644
--- a/test/libsolidity/SolidityABIJSON.cpp
+++ b/test/libsolidity/SolidityABIJSON.cpp
@@ -684,7 +684,7 @@ BOOST_AUTO_TEST_CASE(payable_function)
checkInterface(sourceCode, interface);
}
-BOOST_AUTO_TEST_CASE(payable_fallback_unction)
+BOOST_AUTO_TEST_CASE(payable_fallback_function)
{
char const* sourceCode = R"(
contract test {
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index 5054e275..b05316dd 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -8006,7 +8006,7 @@ BOOST_AUTO_TEST_CASE(function_delete_stack)
contract C {
function a() returns (uint) { return 7; }
function test() returns (uint) {
- y = a;
+ var y = a;
delete y;
y();
}