summaryrefslogtreecommitdiff
path: root/test/libapt/globalerror_test.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-04-20 14:09:37 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-04-20 14:15:47 +0200
commit4e9a9dbf9bd52d38ab5818f3eb32c8189fd25671 (patch)
tree0656de05d8d9d783d8b0c77567f986cb46c9df5f /test/libapt/globalerror_test.cc
parent1350ca686ba2557dd8e2c17eab367bfbfe9b389a (diff)
build: test: Silence warnings in GTest code
GTest has a lot of broken things with signed vs unsigned, and double integer promotions, let's silence them.
Diffstat (limited to 'test/libapt/globalerror_test.cc')
-rw-r--r--test/libapt/globalerror_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libapt/globalerror_test.cc b/test/libapt/globalerror_test.cc
index 42e8355b3..d6ef07421 100644
--- a/test/libapt/globalerror_test.cc
+++ b/test/libapt/globalerror_test.cc
@@ -7,7 +7,7 @@
#include <cstring>
#include <string>
-#include <gtest/gtest.h>
+#include "common.h"
TEST(GlobalErrorTest,BasicDiscard)
{