diff options
author | chriseth <chris@ethereum.org> | 2017-06-15 01:26:09 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-24 01:29:11 +0800 |
commit | a25f73e2cc6b84a75373f38ae6f2032ab4d8d672 (patch) | |
tree | 90e48363bd1cd1d1642ea8c95ffb639b73a5db20 /test/libsolidity | |
parent | 831ed083875b73faf91f9d3335e2599540366712 (diff) | |
download | dexon-solidity-a25f73e2cc6b84a75373f38ae6f2032ab4d8d672.tar.gz dexon-solidity-a25f73e2cc6b84a75373f38ae6f2032ab4d8d672.tar.zst dexon-solidity-a25f73e2cc6b84a75373f38ae6f2032ab4d8d672.zip |
Fix location tests.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/Assembly.cpp | 4 |
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)); |