diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-06 05:38:07 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-06 05:38:07 +0800 |
commit | fb55f4f24dc1fee6e35e828ba0454c328d14f7ca (patch) | |
tree | 99e761ad6b9a471acb8a9aa1fcdd7beb4ebaa908 | |
parent | 5b8deb986605e6b6adfc6cc3bce5d38455e113e3 (diff) | |
download | dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar.gz dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.tar.zst dexon-solidity-fb55f4f24dc1fee6e35e828ba0454c328d14f7ca.zip |
Minor Style fixes
-rw-r--r-- | SolidityScanner.cpp | 8 |
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() |