Skip to content

Commit

Permalink
squash: add check for null isolate
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Feb 5, 2018
1 parent fdfd826 commit ad04fb9
Showing 1 changed file with 1 addition and 0 deletions.
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);
CHECK_NE(isolate_, nullptr);
}

virtual void TearDown() {
Expand Down

0 comments on commit ad04fb9

Please sign in to comment.