mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Trim spaces and avoid spaces in generated address text
* Trim spaces and avoid spaces in generated address text * Fix unit test
This commit is contained in:
@@ -993,7 +993,7 @@ TEST( RifKeywordBasedRsmspecParserTest, TestAddressCreation )
|
||||
|
||||
EXPECT_TRUE( address.isValid() );
|
||||
EXPECT_EQ( address.category(), RifEclipseSummaryAddress::SUMMARY_WELL_COMPLETION_LGR );
|
||||
EXPECT_EQ( address.uiText(), "LCABC:lgrName:wellName:12, 14, 16" );
|
||||
EXPECT_EQ( address.uiText(), "LCABC:lgrName:wellName:12,14,16" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -55,7 +55,7 @@ TEST( RiaSummaryAddressAnalyzer, WellCompletions )
|
||||
|
||||
auto completionsForB = analyzer.wellCompletions( wellNameB );
|
||||
EXPECT_EQ( 3u, completionsForB.size() );
|
||||
std::string tupleToFind = "5, 4, 30";
|
||||
std::string tupleToFind = "5,4,30";
|
||||
EXPECT_TRUE( completionsForB.find( tupleToFind ) != completionsForB.end() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user