aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityScanner.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-06 05:38:07 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-06 05:38:07 +0800
commitfb55f4f24dc1fee6e35e828ba0454c328d14f7ca (patch)
tree99e761ad6b9a471acb8a9aa1fcdd7beb4ebaa908 /SolidityScanner.cpp
parent5b8deb986605e6b6adfc6cc3bce5d38455e113e3 (diff)
downloaddexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar
dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar.gz
dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar.bz2
dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar.lz
dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar.xz
dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar.zst
dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.zip
Minor Style fixes
Diffstat (limited to 'SolidityScanner.cpp')
-rw-r--r--SolidityScanner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/SolidityScanner.cpp b/SolidityScanner.cpp
index 5bd897ab..8088b4d4 100644
--- a/SolidityScanner.cpp
+++ b/SolidityScanner.cpp
@@ -258,10 +258,10 @@ BOOST_AUTO_TEST_CASE(comments_mixed_in_sequence)
BOOST_AUTO_TEST_CASE(ether_subdenominations)
{
Scanner scanner(CharStream("wei szabo finney ether"));
- BOOST_CHECK_EQUAL(scanner.getCurrentToken(), Token::ETH_SUB_WEI);
- BOOST_CHECK_EQUAL(scanner.next(), Token::ETH_SUB_SZABO);
- BOOST_CHECK_EQUAL(scanner.next(), Token::ETH_SUB_FINNEY);
- BOOST_CHECK_EQUAL(scanner.next(), Token::ETH_SUB_ETHER);
+ BOOST_CHECK_EQUAL(scanner.getCurrentToken(), Token::SubWei);
+ BOOST_CHECK_EQUAL(scanner.next(), Token::SubSzabo);
+ BOOST_CHECK_EQUAL(scanner.next(), Token::SubFinney);
+ BOOST_CHECK_EQUAL(scanner.next(), Token::SubEther);
}
BOOST_AUTO_TEST_SUITE_END()