diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-21 05:21:08 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-21 05:21:08 +0800 |
commit | e450bde11357bf4d138b8008c5c201d9ee91ce3e (patch) | |
tree | 63bdf07f77b3484e37c6235e190f5550c6e2b6d8 | |
parent | 16be7563e1a5e0b2b16859b46058a88adc76c203 (diff) | |
download | dexon-solidity-e450bde11357bf4d138b8008c5c201d9ee91ce3e.tar.gz dexon-solidity-e450bde11357bf4d138b8008c5c201d9ee91ce3e.tar.zst dexon-solidity-e450bde11357bf4d138b8008c5c201d9ee91ce3e.zip |
style
-rw-r--r-- | TestHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 4ce17589..d724eb39 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -310,7 +310,7 @@ void userDefinedTest(string testTypeFlag, std::function<void(json_spirit::mValue string arg = boost::unit_test::framework::master_test_suite().argv[i]; if (arg == testTypeFlag) { - if (i + 2 >= boost::unit_test::framework::master_test_suite().argc) + if (boost::unit_test::framework::master_test_suite().argc <= i + 2) { cnote << "Missing filename\nUsage: testeth " << testTypeFlag << " <filename> <testname>\n"; return; |