Changed the error message

This commit is contained in:
Fredrik Gundersen
2015-01-20 10:27:44 +01:00
parent cccde3a0ee
commit 1901aa90bc
2 changed files with 2 additions and 2 deletions

View File

@@ -433,7 +433,7 @@ namespace Opm {
Opm::Value<int> C2 = getValueItem(record->getItem("C2"));
if(hascomplump && (C2.hasValue() || C1.hasValue())){
std::cerr << "ERROR the keyword COMPLUMP is not supported" << std::endl;
std::cerr << "ERROR the keyword COMPLUMP is not supported used when C1 or C2 in WELOPEN have values" << std::endl;
throw std::exception();
}

View File

@@ -548,7 +548,7 @@ BOOST_AUTO_TEST_CASE(CreateScheduleDeckWithCOMPLUMPwithC2_ThrowsExcpetion) {
BOOST_CHECK_THROW(Schedule schedule(deck), std::exception);
}
BOOST_AUTO_TEST_CASE(CreateScheduleDeckWithCOMPLUMPwithDefaultValues_ThrowsExcpetion) {
BOOST_AUTO_TEST_CASE(CreateScheduleDeckWithCOMPLUMPwithDefaultValuesInWELOPEN) {
Opm::Parser parser;
std::string input =
"START -- 0 \n"