Skip to content

Commit

Permalink
Fix mismatched types in native host test error messaging (#85995)
Browse files Browse the repository at this point in the history
  • Loading branch information
elinor-fung authored May 10, 2023
1 parent e00d315 commit 5e1bf54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/native/corehost/test/nativehost/comhost_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace
{
if (FAILED(::CLSIDFromString(clsid_str.c_str(), clsid)))
{
std::cout << "Invalid CLSID: " << clsid_str.c_str() << std::endl;
std::wcout << _X("Invalid CLSID: ") << clsid_str.c_str() << std::endl;
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/native/corehost/test/nativehost/hostpolicy_exports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hostpolicy_exports::hostpolicy_exports()
{
if (!pal::get_loaded_library(LIBHOSTPOLICY_NAME, "corehost_set_error_writer", &_dll, &path))
{
std::cout << _X("Failed to find hostpolicy library already loaded in the process.") << std::endl;
std::cout << "Failed to find hostpolicy library already loaded in the process." << std::endl;
throw StatusCode::CoreHostLibMissingFailure;
}

Expand Down

0 comments on commit 5e1bf54

Please sign in to comment.