From d02408771577427740888426e41cc9cc19058be2 Mon Sep 17 00:00:00 2001 From: afiqzudinhadi Date: Mon, 22 Jun 2026 23:12:51 +0800 Subject: [PATCH] Fix patch: correct line numbers for unit_test.h TEST_BEGIN override --- patches/0002-suppress-unit-tests.patch | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/patches/0002-suppress-unit-tests.patch b/patches/0002-suppress-unit-tests.patch index b6a3172..cbeff1e 100644 --- a/patches/0002-suppress-unit-tests.patch +++ b/patches/0002-suppress-unit-tests.patch @@ -1,10 +1,7 @@ --- a/unit_test.h +++ b/unit_test.h -@@ -53,9 +53,10 @@ +@@ -56,8 +56,8 @@ - #else - -+// Dead template: body parsed but never instantiated → never compiled #define TEST_BEGIN__(text, file, line) \ - namespace UnitTest##line { \ - static void Test() { @@ -12,4 +9,3 @@ + template static void Test() { #define TEST_END \ - } \