diff --git a/vtkm/testing/Testing.h b/vtkm/testing/Testing.h index b6d023e5b..68869ae89 100644 --- a/vtkm/testing/Testing.h +++ b/vtkm/testing/Testing.h @@ -875,8 +875,8 @@ static inline VTKM_CONT void CheckPortal(const PortalType& portal) if (!test_equal(expectedValue, foundValue)) { std::stringstream message; - message << "Got unexpected value in array." << std::endl - << "Expected: " << expectedValue << ", Found: " << foundValue << std::endl; + message << "Got unexpected value in array. Expected: " << expectedValue + << ", Found: " << foundValue << "\n"; VTKM_TEST_FAIL(message.str().c_str()); } }