aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/Assembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-15 21:24:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-25 17:42:36 +0800
commitd15526f877bd3320f50c78227da282c3a6b242e4 (patch)
treefa8e1955b447705eb339dd7dc20bd3687e12a373 /test/libsolidity/Assembly.cpp
parent70e89a5dac5d2a1c4ec01f6ccbcf660809c81c4c (diff)
downloaddexon-solidity-d15526f877bd3320f50c78227da282c3a6b242e4.tar.gz
dexon-solidity-d15526f877bd3320f50c78227da282c3a6b242e4.tar.zst
dexon-solidity-d15526f877bd3320f50c78227da282c3a6b242e4.zip
Update 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 99a2996e..56ac8cf5 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -119,11 +119,11 @@ BOOST_AUTO_TEST_CASE(location_test)
shared_ptr<string const> n = make_shared<string>("");
AssemblyItems items = compileContract(sourceCode);
vector<SourceLocation> locations =
- vector<SourceLocation>(19, SourceLocation(2, 75, n)) +
+ vector<SourceLocation>(18, 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));
+ vector<SourceLocation>(2, SourceLocation(20, 72, n));
checkAssemblyLocations(items, locations);
}