mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 06:28:23 +00:00
8171225: [aix] Fix gtests compile error on AIX 7.1 with xlC 12
Help xlC understand gtest asserts Reviewed-by: erikj, dholmes, simonis
This commit is contained in:
parent
973b6f24d0
commit
eeb6e2f01f
@ -74,7 +74,7 @@ TEST(LinkedList, simple) {
|
||||
ASSERT_EQ(six.value(), i->value()) << "Should be 6";
|
||||
|
||||
i = ll.find(three);
|
||||
ASSERT_EQ(NULL, i) << "Not in the list";
|
||||
ASSERT_TRUE(i == NULL) << "Not in the list";
|
||||
|
||||
LinkedListNode<Integer>* node = ll.find_node(six);
|
||||
ASSERT_TRUE(node != NULL) << "6 is in the list";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user