We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf4f971 commit 18e27d0Copy full SHA for 18e27d0
test/hotspot/gtest/oops/test_markWord.cpp
@@ -51,7 +51,7 @@ static void assert_test_pattern(Handle object, const char* pattern) {
51
static void assert_not_test_pattern(Handle object, const char* pattern) {
52
stringStream st;
53
object->print_on(&st);
54
- ASSERT_THAT(st.base(), !testing::HasSubstr(pattern));
+ ASSERT_THAT(st.base(), testing::Not(testing::HasSubstr(pattern)));
55
}
56
57
class LockerThread : public JavaTestThread {
0 commit comments