Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash: add check for null isolate
  • Loading branch information
danbev committed Feb 5, 2018
commit ad04fb96890c1972d802c4b0f291871bdb806c0c
1 change: 1 addition & 0 deletions test/cctest/node_test_fixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class NodeTestFixture : public ::testing::Test {

virtual void SetUp() {
isolate_ = v8::Isolate::New(params);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a CHECK_NE(isolate_, nullptr)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing, I'll add the check. Thanks

CHECK_NE(isolate_, nullptr);
}

virtual void TearDown() {
Expand Down