aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-11-07 11:25:41 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-11-07 11:25:41 -0600
commita499914c45cf4bf2208c857f54783cfcd48c1427 (patch)
tree62b90dc8a37facc0d06ddb59321ba0005854780a
parenta2e4245288d1b1d55ed3deab8e76ec3cd2fbb3e5 (diff)
downloadayatana-indicator-power-a499914c45cf4bf2208c857f54783cfcd48c1427.tar.gz
ayatana-indicator-power-a499914c45cf4bf2208c857f54783cfcd48c1427.tar.bz2
ayatana-indicator-power-a499914c45cf4bf2208c857f54783cfcd48c1427.zip
modify DeviceTest.Labels s.t. it fails (currently failing) if the 'short' string for an AC Adapter is nonempty.
-rw-r--r--tests/test-device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-device.cc b/tests/test-device.cc
index 27cbf35..021404f 100644
--- a/tests/test-device.cc
+++ b/tests/test-device.cc
@@ -555,7 +555,7 @@ TEST_F(DeviceTest, Labels)
INDICATOR_POWER_DEVICE_PERCENTAGE, 0.0,
INDICATOR_POWER_DEVICE_TIME, guint64(0),
NULL);
- check_strings (device, "AC Adapter", "AC Adapter", "AC Adapter");
+ check_strings (device, "", "AC Adapter", "AC Adapter");
// cleanup
g_object_unref(o);