From 6408449c7830e2d854204c52122690321e281d11 Mon Sep 17 00:00:00 2001 From: Jarrett Johnson Date: Mon, 20 May 2024 08:55:19 -0400 Subject: [PATCH] explicit NULL test --- layerCTest/Test_VLA.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layerCTest/Test_VLA.cpp b/layerCTest/Test_VLA.cpp index 4313cdf13..f509b40b9 100644 --- a/layerCTest/Test_VLA.cpp +++ b/layerCTest/Test_VLA.cpp @@ -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 myVLA{1, 2, 3, 4, 5}; - myVLA = nullptr; + myVLA = NULL; REQUIRE(isNullptr(myVLA.data())); }