aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/Assembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-15 01:26:09 +0800
committerchriseth <chris@ethereum.org>2017-06-24 01:29:11 +0800
commita25f73e2cc6b84a75373f38ae6f2032ab4d8d672 (patch)
tree90e48363bd1cd1d1642ea8c95ffb639b73a5db20 /test/libsolidity/Assembly.cpp
parent831ed083875b73faf91f9d3335e2599540366712 (diff)
downloaddexon-solidity-a25f73e2cc6b84a75373f38ae6f2032ab4d8d672.tar.gz
dexon-solidity-a25f73e2cc6b84a75373f38ae6f2032ab4d8d672.tar.zst
dexon-solidity-a25f73e2cc6b84a75373f38ae6f2032ab4d8d672.zip
Fix location tests.
Diffstat (limited to 'test/libsolidity/Assembly.cpp')
-rw-r--r--test/libsolidity/Assembly.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp
index e52f4d50..99a2996e 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -119,8 +119,8 @@ BOOST_AUTO_TEST_CASE(location_test)
shared_ptr<string const> n = make_shared<string>("");
AssemblyItems items = compileContract(sourceCode);
vector<SourceLocation> locations =
- vector<SourceLocation>(17, SourceLocation(2, 75, n)) +
- vector<SourceLocation>(30, SourceLocation(20, 72, n)) +
+ vector<SourceLocation>(19, SourceLocation(2, 75, n)) +
+ vector<SourceLocation>(32, SourceLocation(20, 72, n)) +
vector<SourceLocation>{SourceLocation(42, 51, n), SourceLocation(65, 67, n)} +
vector<SourceLocation>(2, SourceLocation(58, 67, n)) +
vector<SourceLocation>(3, SourceLocation(20, 72, n));