aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/notifications-test.cc')
-rw-r--r--tests/notifications-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc
index 22402cd..79b6e8e 100644
--- a/tests/notifications-test.cc
+++ b/tests/notifications-test.cc
@@ -326,7 +326,7 @@ TEST_F(NotificationsTest, HighVolume) {
volume_control_set_volume(volumeControl.get(), 0.90);
loop(50);
notev = notifications->getNotifications();
- ASSERT_LT(0, notev.size());
+ ASSERT_LT(0, notev.size()); /* This passes with one or two since it would just be an update to the first if a second was sent */
EXPECT_EQ("Volume", notev[0].summary);
EXPECT_EQ("High volume", notev[0].body);
EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-value-bar-tint"]);