From ab8cad5439bf843dc44b2ea9d728e40caae7c983 Mon Sep 17 00:00:00 2001 From: afiqzudinhadi Date: Mon, 22 Jun 2026 23:13:13 +0800 Subject: [PATCH] Fix patch: use minimal context for unit_test.h template change --- patches/0002-suppress-unit-tests.patch | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/patches/0002-suppress-unit-tests.patch b/patches/0002-suppress-unit-tests.patch index cbeff1e..175b40f 100644 --- a/patches/0002-suppress-unit-tests.patch +++ b/patches/0002-suppress-unit-tests.patch @@ -1,11 +1,9 @@ --- a/unit_test.h +++ b/unit_test.h -@@ -56,8 +56,8 @@ - +@@ -58,7 +58,7 @@ #define TEST_BEGIN__(text, file, line) \ -- namespace UnitTest##line { \ + namespace UnitTest##line { \ - static void Test() { -+ namespace DeadTest##line { \ -+ template static void Test() { ++ template static void Test() { #define TEST_END \