Skip to content

Commit

Permalink
Updates from review
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wilkerson-Barker committed Jun 20, 2024
1 parent b937620 commit d97819e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ TEST_CASE("sync: Connection state changes", "[sync][session][connection change]"
REQUIRE(sessions_are_disconnected(*session));
// ensure callback 1 was not called anymore
REQUIRE(listener1_call_cnt == listener1_called);
REQUIRE(listener2_called == true);
REQUIRE(listener2_called);
}

SECTION("unregister connection change listener during callback") {
Expand Down Expand Up @@ -112,6 +112,6 @@ TEST_CASE("sync: Connection state changes", "[sync][session][connection change]"
user->log_out();
REQUIRE(sessions_are_disconnected(*session));
REQUIRE(listener1_call_cnt == 1); // Only called once before unregister
REQUIRE(listener2_called == true);
REQUIRE(listener2_called);
}
}

0 comments on commit d97819e

Please sign in to comment.