Add tests and test files with backslashes in INCLUDE paths.
This commit is contained in:
@@ -292,6 +292,14 @@ BOOST_AUTO_TEST_CASE( PATHS_has_global_scope ) {
|
||||
BOOST_CHECK_THROW( parser.parseFile( "testdata/parser/PATHSInIncludeInvalid.data", ParseContext() ), std::invalid_argument );
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( PATHS_with_backslashes ) {
|
||||
Parser parser;
|
||||
ParseContext parseContext;
|
||||
|
||||
parseContext.update( ParseContext::PARSE_MISSING_INCLUDE , Opm::InputError::THROW_EXCEPTION);
|
||||
parser.parseFile( "testdata/parser/PATHSWithBackslashes.data", parseContext );
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( handle_empty_title ) {
|
||||
const auto* input_deck = "RUNSPEC\n\n"
|
||||
"TITLE\n\n"
|
||||
|
||||
Reference in New Issue
Block a user