From 55d68e3b71eb67ef5dbcfc3996bbf35a265c8b01 Mon Sep 17 00:00:00 2001 From: light7734 Date: Wed, 24 Sep 2025 10:08:48 +0330 Subject: [PATCH] refactor(renderer): fix clang-tidy checks in system tests --- modules/renderer/private/system.test.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/modules/renderer/private/system.test.cpp b/modules/renderer/private/system.test.cpp index 5bf2c6d..9513f73 100644 --- a/modules/renderer/private/system.test.cpp +++ b/modules/renderer/private/system.test.cpp @@ -6,9 +6,6 @@ using namespace lt; using std::ignore; using test::Case; -using test::expect_eq; -using test::expect_ne; -using test::expect_not_nullptr; using test::expect_throw; using test::expect_true; using test::Suite; @@ -75,7 +72,7 @@ struct RendererContext Suite raii = [] { Case { "happy path won't throw" } = [&] { - std::ignore = create_system(); + ignore = create_system(); }; Case { "happy path has no validation errors" } = [&] { @@ -91,7 +88,7 @@ Suite raii = [] { auto stats = create_ref(); expect_throw([&] { - std::ignore = System( + ignore = System( { .registry = {}, .surface_entity = surface_entity, @@ -101,7 +98,7 @@ Suite raii = [] { }); expect_throw([&] { - std::ignore = System( + ignore = System( System::CreateInfo { .registry = surface_entity.get_registry(), .surface_entity = empty_entity, @@ -111,7 +108,7 @@ Suite raii = [] { }); expect_throw([&] { - std::ignore = System( + ignore = System( System::CreateInfo { .registry = surface_entity.get_registry(), .surface_entity = surface_entity,