Skip to content

Commit

Permalink
Hotfix for #10465 - correctly use the search_string parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Apr 15, 2024
1 parent a6b0834 commit e7d2485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tst/EnergyPlus/unit/Fixtures/EnergyPlusFixture.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ bool EnergyPlusFixture::compare_err_stream(std::string const &expected_string, b
bool EnergyPlusFixture::compare_err_stream_substring(std::string const &search_string, bool reset_stream)
{
auto const stream_str = this->err_stream->str();
bool const found = stream_str.find("Normalization divisor entered as zero") != std::string::npos;
bool const found = stream_str.find(search_string) != std::string::npos;
EXPECT_TRUE(found);
if (reset_stream) this->err_stream->str(std::string());
return found;
Expand Down

5 comments on commit e7d2485

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hotfix/10465 (jmarrec) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3596 of 3596 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hotfix/10465 (jmarrec) - Win64-Windows-10-VisualStudio-16: OK (2767 of 2767 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hotfix/10465 (jmarrec) - x86_64-MacOS-10.18-clang-15.0.0: OK (3555 of 3555 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hotfix/10465 (jmarrec) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (1979 of 1979 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hotfix/10465 (jmarrec) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (791 of 791 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.