Changed the error message
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user