aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-21 02:25:37 +0800
committerGitHub <noreply@github.com>2018-02-21 02:25:37 +0800
commitdcc4083b231e3574a64b5b2a329a7401677610da (patch)
tree82db56c3cc6cf06e73d4b80000b62c9cd83c1079
parentf5f00b4ee9e6e9038e3b84986ab3ff78504331fd (diff)
parent3ba8af4fd55e2573c6a153c3f36e9132f411db06 (diff)
downloaddexon-solidity-dcc4083b231e3574a64b5b2a329a7401677610da.tar
dexon-solidity-dcc4083b231e3574a64b5b2a329a7401677610da.tar.gz
dexon-solidity-dcc4083b231e3574a64b5b2a329a7401677610da.tar.bz2
dexon-solidity-dcc4083b231e3574a64b5b2a329a7401677610da.tar.lz
dexon-solidity-dcc4083b231e3574a64b5b2a329a7401677610da.tar.xz
dexon-solidity-dcc4083b231e3574a64b5b2a329a7401677610da.tar.zst
dexon-solidity-dcc4083b231e3574a64b5b2a329a7401677610da.zip
Merge pull request #3553 from ethereum/simpleOptimizerTestFix
Provide input for two optimizer tests.
-rw-r--r--test/libsolidity/SolidityOptimizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp
index bd635c33..33039ca9 100644
--- a/test/libsolidity/SolidityOptimizer.cpp
+++ b/test/libsolidity/SolidityOptimizer.cpp
@@ -175,7 +175,7 @@ BOOST_AUTO_TEST_CASE(constant_folding_both_sides)
}
})";
compileBothVersions(sourceCode);
- compareVersions("f(uint256)");
+ compareVersions("f(uint256)", 7);
}
BOOST_AUTO_TEST_CASE(storage_access)
@@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE(storage_access)
}
)";
compileBothVersions(sourceCode);
- compareVersions("f(uint256)");
+ compareVersions("f(uint256)", 7);
}
BOOST_AUTO_TEST_CASE(array_copy)