aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/Assembly.cpp
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-09-01 17:19:02 +0800
committerLianaHus <liana@ethdev.com>2015-09-08 19:12:00 +0800
commit02d4198242ec3dacc7af31c9446c83adcf014de9 (patch)
tree6d000f103d2520ebec433c41726dd30350462d8b /test/libsolidity/Assembly.cpp
parent1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4 (diff)
downloaddexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.gz
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.zst
dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.zip
removed get prefix
style fixes
Diffstat (limited to 'test/libsolidity/Assembly.cpp')
-rw-r--r--test/libsolidity/Assembly.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp
index aab612dc..eb4999e7 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -80,10 +80,10 @@ void checkAssemblyLocations(AssemblyItems const& _items, vector<SourceLocation>
for (size_t i = 0; i < min(_items.size(), _locations.size()); ++i)
{
BOOST_CHECK_MESSAGE(
- _items[i].getLocation() == _locations[i],
+ _items[i].location() == _locations[i],
"Location mismatch for assembly item " + to_string(i) + ". Found: " +
- to_string(_items[i].getLocation().start) + "-" +
- to_string(_items[i].getLocation().end) + ", expected: " +
+ to_string(_items[i].location().start) + "-" +
+ to_string(_items[i].location().end) + ", expected: " +
to_string(_locations[i].start) + "-" +
to_string(_locations[i].end));
}