aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-13 18:43:47 +0800
committerchriseth <chris@ethereum.org>2018-02-13 18:43:47 +0800
commit560fbd0df1f9f9ba1c9a95f1319914df8fd79278 (patch)
tree223ec880cbd7d2c0ec45d8b905525094f68d0a35 /test
parenta320ffeafd62b349f6143ceb6b44547c746b08bc (diff)
downloaddexon-solidity-560fbd0df1f9f9ba1c9a95f1319914df8fd79278.tar
dexon-solidity-560fbd0df1f9f9ba1c9a95f1319914df8fd79278.tar.gz
dexon-solidity-560fbd0df1f9f9ba1c9a95f1319914df8fd79278.tar.bz2
dexon-solidity-560fbd0df1f9f9ba1c9a95f1319914df8fd79278.tar.lz
dexon-solidity-560fbd0df1f9f9ba1c9a95f1319914df8fd79278.tar.xz
dexon-solidity-560fbd0df1f9f9ba1c9a95f1319914df8fd79278.tar.zst
dexon-solidity-560fbd0df1f9f9ba1c9a95f1319914df8fd79278.zip
Always use shortened literal number representation.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index 871806fa..4eade7f1 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -4574,7 +4574,7 @@ BOOST_AUTO_TEST_CASE(rational_index_access)
}
}
)";
- CHECK_ERROR(text, TypeError, "rational_const 1/2 is not implicitly convertible to expected type uint256");
+ CHECK_ERROR(text, TypeError, "rational_const 1 / 2 is not implicitly convertible to expected type uint256");
}
BOOST_AUTO_TEST_CASE(rational_to_fixed_literal_expression)