diff -r adfb1c71f52c -r e31f39e088b7 test/hotspot/gtest/unittest.hpp --- a/test/hotspot/gtest/unittest.hpp Thu Feb 14 09:38:19 2019 -0800 +++ b/test/hotspot/gtest/unittest.hpp Thu Feb 14 19:48:57 2019 +0100 @@ -105,7 +105,7 @@ TEST(category, CONCAT(name, _vm_assert)) { \ ASSERT_EXIT(child_ ## category ## _ ## name ## _(), \ ::testing::ExitedWithCode(1), \ - "assert failed: " msg); \ + "^assert failed: " msg); \ } \ \ void test_ ## category ## _ ## name ## _()