test/hotspot/gtest/unittest.hpp
changeset 53757 e31f39e088b7
parent 47216 71c04702a3d5
child 55049 4853b1ceb3d6
--- 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 ## _()