Skip to content

Commit

Permalink
Fix proc_stat unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ari-kar authored and dtrugman committed Jul 8, 2024
1 parent feeb3e0 commit a4c9f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_proc_stat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ TEST_CASE("Parse stat", "[procfs][proc_stat]")
SECTION("Validate softirq")
{
unsigned long long sum = std::accumulate(
stats.softirq.per_item.begin(), stats.softirq.per_item.end(), 0);
stats.softirq.per_item.begin(), stats.softirq.per_item.end(), 0ULL);
REQUIRE(sum == stats.softirq.total);
}
}

0 comments on commit a4c9f1e

Please sign in to comment.