summaryrefslogtreecommitdiff
path: root/test/libapt/install_progress_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/libapt/install_progress_test.cc')
-rw-r--r--test/libapt/install_progress_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libapt/install_progress_test.cc b/test/libapt/install_progress_test.cc
index 6ba4f3242..68101af9b 100644
--- a/test/libapt/install_progress_test.cc
+++ b/test/libapt/install_progress_test.cc
@@ -10,7 +10,7 @@ TEST(InstallProgressTest, FancyGetTextProgressStr)
{
APT::Progress::PackageManagerFancy p;
- EXPECT_EQ(60, p.GetTextProgressStr(0.5, 60).size());
+ EXPECT_EQ(60u, p.GetTextProgressStr(0.5, 60).size());
EXPECT_EQ("[#.]", p.GetTextProgressStr(0.5, 4));
EXPECT_EQ("[..........]", p.GetTextProgressStr(0.0, 12));
EXPECT_EQ("[#.........]", p.GetTextProgressStr(0.1, 12));