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 aa46b40..fbeb1c0 100644
--- a/tests/test-device.cc
+++ b/tests/test-device.cc
@@ -209,7 +209,7 @@ TEST_F(DeviceTest, NewFromVariant)
"/object/path",
guint32(UP_DEVICE_KIND_BATTERY),
"icon",
- 50,0,
+ 50.0,
guint32(UP_DEVICE_STATE_CHARGING),
guint64(30));
IndicatorPowerDevice * device = indicator_power_device_new_from_variant (variant);