Update UnitTestError.cxx

This commit is contained in:
Nick Thompson 2021-04-16 17:46:43 +00:00
parent 9d46f7981d
commit 9f1ef651c4

@ -54,7 +54,7 @@ void ValidateError(const vtkm::cont::Error& error)
VTKM_TEST_ASSERT(count >= 1, assert_msg);
#else
std::string assert_msg = "Expected more entries in the stack frame\n" + stackTrace;
VTKM_TEST_ASSERT(count > 4, assert_msg);
VTKM_TEST_ASSERT(count > 2, assert_msg);
#endif
}
VTKM_TEST_ASSERT(test_equal(message, error.GetMessage()), "Message was incorrect");