aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityExpressionCompiler.cpp
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-06-27 19:22:33 +0800
committerErik Kundt <bitshift@posteo.org>2018-06-29 17:27:01 +0800
commit12c4eb769762d55a71ba05cf1b74b99797026f51 (patch)
tree821de9d9c03984aac3d60844c929792816e8bf1a /test/libsolidity/SolidityExpressionCompiler.cpp
parentc9cab803892a09386617faab6b4e1580ee2eaa47 (diff)
downloaddexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar
dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar.gz
dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar.bz2
dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar.lz
dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar.xz
dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar.zst
dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.zip
Updates compiled unit tests to new constructor syntax.
Diffstat (limited to 'test/libsolidity/SolidityExpressionCompiler.cpp')
-rw-r--r--test/libsolidity/SolidityExpressionCompiler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/libsolidity/SolidityExpressionCompiler.cpp b/test/libsolidity/SolidityExpressionCompiler.cpp
index ce8f4fe4..5d5fb218 100644
--- a/test/libsolidity/SolidityExpressionCompiler.cpp
+++ b/test/libsolidity/SolidityExpressionCompiler.cpp
@@ -215,7 +215,7 @@ BOOST_AUTO_TEST_CASE(int_with_wei_ether_subdenomination)
{
char const* sourceCode = R"(
contract test {
- function test () {
+ constructor() {
var x = 1 wei;
}
}
@@ -230,7 +230,7 @@ BOOST_AUTO_TEST_CASE(int_with_szabo_ether_subdenomination)
{
char const* sourceCode = R"(
contract test {
- function test () {
+ constructor() {
var x = 1 szabo;
}
}
@@ -245,7 +245,7 @@ BOOST_AUTO_TEST_CASE(int_with_finney_ether_subdenomination)
{
char const* sourceCode = R"(
contract test {
- function test ()
+ constructor()
{
var x = 1 finney;
}
@@ -261,7 +261,7 @@ BOOST_AUTO_TEST_CASE(int_with_ether_ether_subdenomination)
{
char const* sourceCode = R"(
contract test {
- function test () {
+ constructor() {
var x = 1 ether;
}
}