Skip to content

Commit

Permalink
Allow for two different error messages in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Sep 28, 2024
1 parent 4054f45 commit 1a9ff05
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,10 @@ void FSampleHeightMostDetailedSpec::Define() {
"",
EAsyncExecution::TaskGraphMainThread,
[this](const FDoneDelegate& done) {
this->AddExpectedError(TEXT("error occurred"));
// Two slightly different error messages will occur, depending on
// whether there's a web server running on localhost.
this->AddExpectedError(
TEXT("(Errors when loading)|(error occurred)"));

UWorld* pWorld = CesiumTestHelpers::getGlobalWorldContext();

Expand Down

0 comments on commit 1a9ff05

Please sign in to comment.