Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGlazer committed Dec 13, 2023
1 parent 1dc8d9f commit 0ef5120
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions tst/EnergyPlus/unit/OutputReportTabular.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12847,13 +12847,11 @@ TEST_F(EnergyPlusFixture, OutputReportTabularMonthly_WarnMonthlyBlankVariable)

InitializeTabularMonthly(*state);

std::string const expected_error = delimited_string({
" ** Warning ** Output:Table:Monthly: Blank column specified in 'SPACE GAINS ANNUAL REPORT', need to provide a variable or meter name "
});
std::string const expected_error = delimited_string(
{" ** Warning ** Output:Table:Monthly: Blank column specified in 'SPACE GAINS ANNUAL REPORT', need to provide a variable or meter name "});
compare_err_stream(expected_error);
}


TEST_F(EnergyPlusFixture, OutputReportTabularMonthly_NoWarnMonthlIfNoWeatherFileRun)
{
// #9621 - Only warn if a bad variable is defined in a Monthly table user requested, not on the AllSummaryAndMonthly ones
Expand Down
6 changes: 3 additions & 3 deletions tst/EnergyPlus/unit/OutputReportTabularAnnual.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,9 @@ TEST_F(EnergyPlusFixture, OutputReportTabularAnnual_WarnBlankVariable)

std::vector<std::string> tableParams = firstTable->inspectTable();

std::string const expected_error = delimited_string(
{" ** Warning ** Output:Table:Annual: Blank column specified in 'SPACE GAINS ANNUAL REPORT', need to provide a variable or meter or EMS variable name ",
" ** Warning ** Invalid aggregation type=\"\" Defaulting to SumOrAverage."});
std::string const expected_error = delimited_string({" ** Warning ** Output:Table:Annual: Blank column specified in 'SPACE GAINS ANNUAL "
"REPORT', need to provide a variable or meter or EMS variable name ",
" ** Warning ** Invalid aggregation type=\"\" Defaulting to SumOrAverage."});

compare_err_stream(expected_error);
}

5 comments on commit 0ef5120

@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.

6919-FixBlankNameOutTabSumRep (JasonGlazer) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3589 of 3589 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.

6919-FixBlankNameOutTabSumRep (JasonGlazer) - Win64-Windows-10-VisualStudio-16: OK (2761 of 2761 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.

6919-FixBlankNameOutTabSumRep (JasonGlazer) - x86_64-MacOS-10.17-clang-14.0.0: OK (3548 of 3548 tests passed, 0 test warnings)

Build Badge Test 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.

6919-FixBlankNameOutTabSumRep (JasonGlazer) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (790 of 790 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@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.

6919-FixBlankNameOutTabSumRep (JasonGlazer) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (1974 of 1974 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.