Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b577cf4 authored by Steven Moreland's avatar Steven Moreland
Browse files

libsnapshot: CHECK -> CHECK_EQ

This will print the values of the strings which are not equal
so that we can debug.

Bug: 366531882
Test: build, TH
Change-Id: I36a2b8d3fbda145e07cd8ccb01152a3a3adf21b0
parent 354bd064
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ namespace snapshot {

SnapshotMergeStats* SnapshotMergeStats::GetInstance(SnapshotManager& parent) {
    static SnapshotMergeStats g_instance(parent.GetMergeStateFilePath());
    CHECK(g_instance.path_ == parent.GetMergeStateFilePath());
    CHECK_EQ(g_instance.path_, parent.GetMergeStateFilePath());
    return &g_instance;
}