aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-21 01:03:39 +0800
committerchriseth <chris@ethereum.org>2018-02-21 01:03:39 +0800
commit3ba8af4fd55e2573c6a153c3f36e9132f411db06 (patch)
tree82db56c3cc6cf06e73d4b80000b62c9cd83c1079
parentf5f00b4ee9e6e9038e3b84986ab3ff78504331fd (diff)
downloaddexon-solidity-3ba8af4fd55e2573c6a153c3f36e9132f411db06.tar.gz
dexon-solidity-3ba8af4fd55e2573c6a153c3f36e9132f411db06.tar.zst
dexon-solidity-3ba8af4fd55e2573c6a153c3f36e9132f411db06.zip
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)