Skip to content

Commit

Permalink
explicit NULL test
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed May 20, 2024
1 parent 947e208 commit 6408449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layerCTest/Test_VLA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ TEST_CASE("VLA single non-zero-int Initializer List", "[VLA]")
REQUIRE(myVLA[0] == 5);
}

TEST_CASE("VLA nullptr Assign", "[VLA]")
TEST_CASE("VLA NULL Assign", "[VLA]")
{
vla<int> myVLA{1, 2, 3, 4, 5};
myVLA = nullptr;
myVLA = NULL;
REQUIRE(isNullptr(myVLA.data()));
}

Expand Down

0 comments on commit 6408449

Please sign in to comment.