aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-26 10:53:32 +0200
committerCharles Kerr <charles.kerr@canonical.com>2012-10-26 10:53:32 +0200
commita842e7b5cc66311c6cff51f3e07d1c7930b8153a (patch)
treecabc24aad198595f8393448b6d026f51c5c691d2 /tests
parentb7b7ffd56c91ae9622ffebfec4ea4400c96d2fce (diff)
downloadayatana-indicator-power-a842e7b5cc66311c6cff51f3e07d1c7930b8153a.tar.gz
ayatana-indicator-power-a842e7b5cc66311c6cff51f3e07d1c7930b8153a.tar.bz2
ayatana-indicator-power-a842e7b5cc66311c6cff51f3e07d1c7930b8153a.zip
fix comment typo
Diffstat (limited to 'tests')
-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 c310a58..88c43fc 100644
--- a/tests/test-device.cc
+++ b/tests/test-device.cc
@@ -584,7 +584,7 @@ TEST_F(DeviceTest, ChoosePrimary)
set_device_charge_state (b, UP_DEVICE_STATE_DISCHARGING, 100, 50.0);
ASSERT_EQ (a, indicator_power_choose_primary_device(devices));
- /* Both are charging, have the same charge percentage, and differnt times left (to charge).
+ /* Both are charging, have the same charge percentage, and different times left (to charge).
* Confirm that the one with the most time left is chosen. */
set_device_charge_state (a, UP_DEVICE_STATE_CHARGING, 49, 50.0);
set_device_charge_state (b, UP_DEVICE_STATE_CHARGING, 50, 50.0);