mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adds some more version pragma test cases.
This commit is contained in:
@@ -171,6 +171,8 @@ BOOST_AUTO_TEST_CASE(negative_range)
|
||||
{
|
||||
// Negative range tests
|
||||
vector<pair<string, string>> tests = {
|
||||
{"^0^1", "0.0.0"},
|
||||
{"^0^1", "1.0.0"},
|
||||
{"1.0.0 - 2.0.0", "2.2.3"},
|
||||
{"1.0", "1.0.0-pre"},
|
||||
{"1", "1.0.0-pre"},
|
||||
|
||||
Reference in New Issue
Block a user