From a25f73e2cc6b84a75373f38ae6f2032ab4d8d672 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 14 Jun 2017 19:26:09 +0200 Subject: Fix location tests. --- test/libsolidity/Assembly.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/libsolidity/Assembly.cpp') 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 n = make_shared(""); AssemblyItems items = compileContract(sourceCode); vector locations = - vector(17, SourceLocation(2, 75, n)) + - vector(30, SourceLocation(20, 72, n)) + + vector(19, SourceLocation(2, 75, n)) + + vector(32, SourceLocation(20, 72, n)) + vector{SourceLocation(42, 51, n), SourceLocation(65, 67, n)} + vector(2, SourceLocation(58, 67, n)) + vector(3, SourceLocation(20, 72, n)); -- cgit v1.2.3