diff options
author | dvdli <dvdli@google.com> | 2021-01-28 17:46:05 +0800 |
---|---|---|
committer | dvdli <dvdli@google.com> | 2021-01-28 17:46:05 +0800 |
commit | 1fd610f036a894bc5bcef84d1c1ccd40c45950d8 (patch) | |
tree | f048c9f038beac1ac1792e41ab110dd0fc2d29fc | |
parent | 3694925022aa16b10978c92b9a2a69661dbbcdcf (diff) |
fix test case to match the API
-rw-r--r-- | tests/src/mixer_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/mixer_test.cc b/tests/src/mixer_test.cc index 717269c..903fb8f 100644 --- a/tests/src/mixer_test.cc +++ b/tests/src/mixer_test.cc @@ -288,7 +288,7 @@ TEST_P(MixerControlsTest, Event) { EXPECT_EQ(mixer_wait_event(mixer_object, 1000), 1); - EXPECT_EQ(mixer_consume_event(mixer_object), 0); + EXPECT_EQ(mixer_consume_event(mixer_object), 1); thread.join(); ASSERT_EQ(mixer_subscribe_events(mixer_object, 0), 0); |