aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-13 13:49:43 -0600
committerTed Gould <ted@gould.cx>2015-02-13 13:49:43 -0600
commit0b6f800a6e99e6485508aef14f666a7aa51a2f6d (patch)
tree4dd4f31154e28f799fed4f7f7da7111915914944 /tests/notifications-test.cc
parenteb8a797c9e7ce01e3345edc20db1486764c84d08 (diff)
downloadayatana-indicator-sound-0b6f800a6e99e6485508aef14f666a7aa51a2f6d.tar.gz
ayatana-indicator-sound-0b6f800a6e99e6485508aef14f666a7aa51a2f6d.tar.bz2
ayatana-indicator-sound-0b6f800a6e99e6485508aef14f666a7aa51a2f6d.zip
Adding a comment for an odd check
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"]);