Skip to content

Commit

Permalink
Fixed right types for EXPECT_EQ calls in new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj Malecki committed Sep 10, 2024
1 parent 90c2888 commit a516140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_epoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ void testListenerReady(const bool LATE_CALL, size_t nmembers)

// SUBSCRIBED EVENTS: IN, UPDATE.
// expected: UPDATE only.
EXPECT_EQ(fdset[0].events, SRT_EPOLL_UPDATE);
EXPECT_EQ(SRT_EPOLL_OPT(fdset[0].events), SRT_EPOLL_UPDATE);
SRTSOCKET joined = extra_call.get();
EXPECT_NE(joined, SRT_INVALID_SOCK);
std::cout << Sprint("Extra joined: @", joined, "\n");
Expand Down Expand Up @@ -915,7 +915,7 @@ void testMultipleListenerReady(const bool LATE_CALL)

// SUBSCRIBED EVENTS: IN, UPDATE.
// expected: UPDATE only.
EXPECT_EQ(fdset[0].events, SRT_EPOLL_UPDATE);
EXPECT_EQ(SRT_EPOLL_OPT(fdset[0].events), SRT_EPOLL_UPDATE);
EXPECT_NE(extra_call.get(), SRT_INVALID_SOCK);

std::cout << "Joining connector thread(s)\n";
Expand Down

0 comments on commit a516140

Please sign in to comment.