Spelling fixes (valied -> valid).
This commit is contained in:
parent
2eb49a451c
commit
7d66ff7c12
@ -34,7 +34,7 @@ static void printHelp() {
|
||||
std::cout << "\nList all arrays found in an EclFile specified on the command line. \n\n"
|
||||
<< "\nThe program have one option which will only work on unified restart files:\n\n"
|
||||
<< "-h Print help and exit.\n"
|
||||
<< "-r List array for a spesific report time step number. Option only valied for a unified restart file. \n\n";
|
||||
<< "-r List array for a spesific report time step number. Option only valid for a unified restart file. \n\n";
|
||||
}
|
||||
|
||||
void print_array_list(const std::vector<EclEntry>& array_list, const std::vector<int>& element_size)
|
||||
|
@ -321,7 +321,7 @@ BOOST_AUTO_TEST_CASE(TestERst_5a) {
|
||||
BOOST_CHECK_EQUAL(rst1.hasReportStepNumber(2), true);
|
||||
BOOST_CHECK_EQUAL(rst1.hasReportStepNumber(0), false);
|
||||
|
||||
// invalied report step number
|
||||
// invalid report step number
|
||||
BOOST_CHECK_THROW(rst1.hasLGR("LGR1", 99) , std::invalid_argument );
|
||||
|
||||
BOOST_CHECK_EQUAL(rst1.hasLGR("LGR1", 2), true);
|
||||
@ -369,7 +369,7 @@ BOOST_AUTO_TEST_CASE(TestERst_5b) {
|
||||
BOOST_CHECK_EQUAL(rst1.hasReportStepNumber(1), true);
|
||||
BOOST_CHECK_EQUAL(rst1.hasReportStepNumber(5), false);
|
||||
|
||||
// invalied report step number
|
||||
// invalid report step number
|
||||
BOOST_CHECK_THROW(rst1.hasLGR("LGR1", 99) , std::invalid_argument );
|
||||
|
||||
BOOST_CHECK_EQUAL(rst1.hasLGR("LGR1", 2), true);
|
||||
|
Loading…
Reference in New Issue
Block a user