diff --git a/tests/relpermDiagnostics.DATA b/tests/relpermDiagnostics.DATA index 5de18a99d..30b3555de 100644 --- a/tests/relpermDiagnostics.DATA +++ b/tests/relpermDiagnostics.DATA @@ -91,4 +91,3 @@ SGOF 0.7 0.94 0.000 0 0.85 0.98 0.000 0 0.88 0.984 0.000 0 / -1.00 1.0 0.000 0 / diff --git a/tests/test_relpermdiagnostics.cpp b/tests/test_relpermdiagnostics.cpp index 8022c9a30..855e7ee1f 100644 --- a/tests/test_relpermdiagnostics.cpp +++ b/tests/test_relpermdiagnostics.cpp @@ -53,7 +53,7 @@ BOOST_AUTO_TEST_CASE(diagnosis) Parser parser; Opm::ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE }, { ParseContext::PARSE_UNKNOWN_KEYWORD, InputError::IGNORE}, - { ParseContext::PARSE_EXTRA_RECORDS, InputError::IGNORE} + { ParseContext::PARSE_EXTRA_RECORDS, InputError::THROW_EXCEPTION} }); Opm::Deck deck = parser.parseFile("../tests/relpermDiagnostics.DATA", parseContext); EclipseState eclState(deck, parseContext);