From f43ff52af261b2bb7921ea623dd9fbdf144f9e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petri=20H=C3=A4kkinen?= Date: Tue, 11 Apr 2023 08:47:20 +0300 Subject: [PATCH] Line breaks --- tests/Conformance.test.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Conformance.test.cpp b/tests/Conformance.test.cpp index cd9a2f12..0a9d1f77 100644 --- a/tests/Conformance.test.cpp +++ b/tests/Conformance.test.cpp @@ -1355,9 +1355,11 @@ TEST_CASE("UserdataApi") auto dtor = [](lua_State* l, void* data) { dtorhits += *(int*)data; }; - bool dtorIsNull = lua_getuserdatadtor(L, 42) == nullptr; CHECK(dtorIsNull); + bool dtorIsNull = lua_getuserdatadtor(L, 42) == nullptr; + CHECK(dtorIsNull); lua_setuserdatadtor(L, 42, dtor); - bool dtorIsSet = lua_getuserdatadtor(L, 42) == dtor; CHECK(dtorIsSet); + bool dtorIsSet = lua_getuserdatadtor(L, 42) == dtor; + CHECK(dtorIsSet); // light user data int lud;