From 3cd94996e92d49f91397342024c2b873ab28875d Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sun, 27 Jun 2021 15:19:54 +0200 Subject: [PATCH] Remove invalid/useless test sizeof(ptr) == 4 This test is currently valid only for 32bit architectures. There doesn't seem to be a true reason for this test to ensure a pointer is exactly 4 bytes, so remove the test. --- tests/unit/system_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/system_test.cpp b/tests/unit/system_test.cpp index a14875a..ae76e09 100644 --- a/tests/unit/system_test.cpp +++ b/tests/unit/system_test.cpp @@ -2,5 +2,4 @@ TEST_CASE("type tests", "[system]") { REQUIRE(sizeof(uint64_t) == 8); - REQUIRE(sizeof(char *) == 4); }