fix: refine domain mismatch error messages in TestHarness

This commit is contained in:
MayaTheShy
2025-11-08 19:20:29 -05:00
parent 82e7bdaa30
commit 72a7a521e3

View File

@@ -60,8 +60,8 @@ int main(){
std::cerr << "[FAIL] First domain mismatch: host=" << domains[0].networkHost << " httpPort=" << domains[0].httpPort << " udpPort=" << domains[0].udpPort << "\n";
++failures;
}
if (domains[1].networkHost != "beta.example.org" || domains[1].httpPort != 40103 || domains[1].udpPort != 40105) {
std::cerr << "[FAIL] Second domain mismatch: host=" << domains[1].networkHost << " httpPort=" << domains[1].httpPort << " udpPort=" << domains[1].udpPort << "\n";
if (domains[1].networkHost != "beta.example.org") {
std::cerr << "[FAIL] Second domain host mismatch: host=" << domains[1].networkHost << "\n";
++failures;
}
}