mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
removed spaces
This commit is contained in:
parent
ac77d20ee3
commit
dc30fb6385
@ -818,9 +818,7 @@ BOOST_AUTO_TEST_CASE(deleteStruct)
|
|||||||
return str.nstr.nestedMapping[index];
|
return str.nstr.nestedMapping[index];
|
||||||
}
|
}
|
||||||
})";
|
})";
|
||||||
|
|
||||||
compileAndRun(sourceCode);
|
compileAndRun(sourceCode);
|
||||||
|
|
||||||
BOOST_CHECK(callContractFunction("getToDelete()") == encodeArgs(0));
|
BOOST_CHECK(callContractFunction("getToDelete()") == encodeArgs(0));
|
||||||
BOOST_CHECK(callContractFunction("getTopValue()") == encodeArgs(0));
|
BOOST_CHECK(callContractFunction("getTopValue()") == encodeArgs(0));
|
||||||
BOOST_CHECK(callContractFunction("getNestedValue()") == encodeArgs(0));
|
BOOST_CHECK(callContractFunction("getNestedValue()") == encodeArgs(0));
|
||||||
@ -841,7 +839,6 @@ BOOST_AUTO_TEST_CASE(deleteLocal)
|
|||||||
res = v;
|
res = v;
|
||||||
}
|
}
|
||||||
})";
|
})";
|
||||||
|
|
||||||
compileAndRun(sourceCode);
|
compileAndRun(sourceCode);
|
||||||
BOOST_CHECK(callContractFunction("delLocal()") == encodeArgs(0));
|
BOOST_CHECK(callContractFunction("delLocal()") == encodeArgs(0));
|
||||||
}
|
}
|
||||||
@ -857,7 +854,6 @@ BOOST_AUTO_TEST_CASE(deleteLocals)
|
|||||||
res = w;
|
res = w;
|
||||||
}
|
}
|
||||||
})";
|
})";
|
||||||
|
|
||||||
compileAndRun(sourceCode);
|
compileAndRun(sourceCode);
|
||||||
BOOST_CHECK(callContractFunction("delLocal()") == encodeArgs(6));
|
BOOST_CHECK(callContractFunction("delLocal()") == encodeArgs(6));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user