mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Do not flush the stream when you're just going to convert it to string.
This commit is contained in:
parent
294624adf5
commit
cddb6f7b6d
@ -875,8 +875,8 @@ static inline VTKM_CONT void CheckPortal(const PortalType& portal)
|
|||||||
if (!test_equal(expectedValue, foundValue))
|
if (!test_equal(expectedValue, foundValue))
|
||||||
{
|
{
|
||||||
std::stringstream message;
|
std::stringstream message;
|
||||||
message << "Got unexpected value in array." << std::endl
|
message << "Got unexpected value in array. Expected: " << expectedValue
|
||||||
<< "Expected: " << expectedValue << ", Found: " << foundValue << std::endl;
|
<< ", Found: " << foundValue << "\n";
|
||||||
VTKM_TEST_FAIL(message.str().c_str());
|
VTKM_TEST_FAIL(message.str().c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user