mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:06:21 +01:00
Use explicitly unsigned zero to prevent from a warning
This commit is contained in:
@@ -357,7 +357,7 @@ TEST_F(ProgramEnvTest, TestExecuteAndWaitStatistics) {
|
||||
&ExecutionFailed, &ProcStat);
|
||||
ASSERT_EQ(0, RetCode);
|
||||
ASSERT_TRUE(ProcStat);
|
||||
ASSERT_GT(ProcStat->PeakMemory, 0);
|
||||
ASSERT_GT(ProcStat->PeakMemory, 0U);
|
||||
ASSERT_GE(ProcStat->UserTime, std::chrono::microseconds(0));
|
||||
ASSERT_GE(ProcStat->TotalTime, ProcStat->UserTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user