aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 1b13f9e8..7f8c519f 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -285,6 +285,12 @@ void checkStorage(map<u256, u256> _expectedStore, map<u256, u256> _resultStore,
BOOST_CHECK_MESSAGE(expectedStoreValue == resultStoreValue, _expectedAddr << ": store[" << expectedStoreKey << "] = " << resultStoreValue << ", expected " << expectedStoreValue);
}
}
+
+ for (auto&& resultStorePair : _resultStore)
+ {
+ if (!_expectedStore.count(resultStorePair.first))
+ BOOST_ERROR("unexpected result store key " << resultStorePair.first);
+ }
}
std::string getTestPath()