aboutsummaryrefslogtreecommitdiffstats
path: root/test/liblll
diff options
context:
space:
mode:
authorMatías Aereal Aeón <aereal@gmail.com>2018-08-08 22:26:30 +0800
committerMatías Aereal Aeón <aereal@gmail.com>2018-08-08 22:26:30 +0800
commite902ce1aa02dc5d19cc9dd231fa538646884826d (patch)
treebdac717d124e725679929c722cfe2c752cc90dd9 /test/liblll
parent7dae58cbcc3df64e6add31020a7f44de1b28b3de (diff)
downloaddexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.gz
dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.zst
dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.zip
Removing std:: from std::to_string and include for boost/lexical_cast
Diffstat (limited to 'test/liblll')
-rw-r--r--test/liblll/Compiler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/liblll/Compiler.cpp b/test/liblll/Compiler.cpp
index 1e6f6d87..39f5e620 100644
--- a/test/liblll/Compiler.cpp
+++ b/test/liblll/Compiler.cpp
@@ -130,17 +130,17 @@ BOOST_AUTO_TEST_CASE(switch_inconsistent_return_count)
BOOST_AUTO_TEST_CASE(disallowed_asm_instructions)
{
for (unsigned i = 1; i <= 32; i++)
- BOOST_CHECK(!successCompile("(asm PUSH" + boost::lexical_cast<string>(i) + ")"));
+ BOOST_CHECK(!successCompile("(asm PUSH" + to_string(i) + ")"));
}
BOOST_AUTO_TEST_CASE(disallowed_functional_asm_instructions)
{
for (unsigned i = 1; i <= 32; i++)
- BOOST_CHECK(!successCompile("(PUSH" + boost::lexical_cast<string>(i) + ")"));
+ BOOST_CHECK(!successCompile("(PUSH" + to_string(i) + ")"));
for (unsigned i = 1; i <= 16; i++)
- BOOST_CHECK(!successCompile("(DUP" + boost::lexical_cast<string>(i) + ")"));
+ BOOST_CHECK(!successCompile("(DUP" + to_string(i) + ")"));
for (unsigned i = 1; i <= 16; i++)
- BOOST_CHECK(!successCompile("(SWAP" + boost::lexical_cast<string>(i) + ")"));
+ BOOST_CHECK(!successCompile("(SWAP" + to_string(i) + ")"));
BOOST_CHECK(!successCompile("(JUMPDEST)"));
}