aboutsummaryrefslogtreecommitdiff
path: root/tests/test-device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-device.cc')
-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);