| Index: test/unittests/compiler/node-unittest.cc
|
| diff --git a/test/unittests/compiler/node-unittest.cc b/test/unittests/compiler/node-unittest.cc
|
| index 5341f697168e8175df1ae45e7cd4bbab34dd2566..8379e2668dad795ade93ee4e458a8b74e5d9e3a4 100644
|
| --- a/test/unittests/compiler/node-unittest.cc
|
| +++ b/test/unittests/compiler/node-unittest.cc
|
| @@ -7,7 +7,9 @@
|
| #include "test/unittests/test-utils.h"
|
| #include "testing/gmock-support.h"
|
|
|
| +using testing::Contains;
|
| using testing::ElementsAre;
|
| +using testing::ElementsAreArray;
|
| using testing::UnorderedElementsAre;
|
|
|
| namespace v8 {
|
| @@ -252,6 +254,10 @@ TEST_F(NodeTest, BigNodes) {
|
| for (int i = 0; i < size; i++) {
|
| EXPECT_EQ(inputs[i], node->InputAt(i));
|
| }
|
| +
|
| + EXPECT_THAT(n0->uses(), Contains(node));
|
| + EXPECT_THAT(n1->uses(), Contains(node));
|
| + EXPECT_THAT(node->inputs(), ElementsAreArray(inputs, size));
|
| }
|
| }
|
|
|
|
|