test_relpermdiagnostics makes no reference to PARSE_EXTRA_RECORDS.

This commit is contained in:
Steinar Foss 2018-01-17 10:34:01 +01:00
parent 792b0e7f9d
commit b26c7cdbe0

View File

@ -52,8 +52,7 @@ BOOST_AUTO_TEST_CASE(diagnosis)
using namespace Opm;
Parser parser;
Opm::ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE },
{ ParseContext::PARSE_UNKNOWN_KEYWORD, InputError::IGNORE},
{ ParseContext::PARSE_EXTRA_RECORDS, InputError::THROW_EXCEPTION}
{ ParseContext::PARSE_UNKNOWN_KEYWORD, InputError::IGNORE}
});
Opm::Deck deck = parser.parseFile("../tests/relpermDiagnostics.DATA", parseContext);
EclipseState eclState(deck, parseContext);