also pass the parseContext and errorGuard to Opm::checkDeck()

This commit is contained in:
Andreas Lauser committed 2019-04-04 18:13:36 +02:00
1 parent 32feeefae3
commit 6f1018f11a
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -648,11 +648,13 @@ BOOST_AUTO_TEST_CASE(ParseInterpolateRealisticVFPPROD)
{
auto units = Opm::UnitSystem::newMETRIC();
Opm::ParseContext parseContext;
Opm::ErrorGuard errorGuard;
Opm::Parser parser;
boost::filesystem::path file("VFPPROD2");
auto deck = parser.parseFile(file.string());
Opm::checkDeck(deck, parser);
Opm::checkDeck(deck, parser, parseContext, errorGuard);
BOOST_REQUIRE(deck.hasKeyword("VFPPROD"));
BOOST_CHECK_EQUAL(deck.count("VFPPROD"), 1);