aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-20 23:47:54 +0800
committerGav Wood <i@gavwood.com>2015-03-20 23:47:54 +0800
commitca740a924bc06a9f8eac4c3950f1419857d56c08 (patch)
treed4f94248471bd59dfa55bf31687215de775409e0
parent3d1364698f604ad0602ce880c7751e3003e2584b (diff)
downloaddexon-solidity-ca740a924bc06a9f8eac4c3950f1419857d56c08.tar.gz
dexon-solidity-ca740a924bc06a9f8eac4c3950f1419857d56c08.tar.zst
dexon-solidity-ca740a924bc06a9f8eac4c3950f1419857d56c08.zip
Minor rename.
Report errors properly.
-rw-r--r--TestHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 128318b8..b29c5dc3 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -240,7 +240,7 @@ byte toByte(json_spirit::mValue const& _v)
bytes importByteArray(std::string const& _str)
{
- return fromHex(_str.substr(0, 2) == "0x" ? _str.substr(2) : _str, ThrowType::Throw);
+ return fromHex(_str.substr(0, 2) == "0x" ? _str.substr(2) : _str, WhenError::Throw);
}
bytes importData(json_spirit::mObject& _o)