diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-08-22 23:58:00 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-08-22 23:58:00 -0500 |
commit | cfda45be70c9d7877d23f3bfdc70672be1fa71f2 (patch) | |
tree | ac597fe0d6b49abc1461873185d1ba6a2e00cba2 /tests/test-service.cc | |
parent | 65b6f061fe4f003eae25d423bbf2f3aa8aca1471 (diff) | |
download | ayatana-indicator-power-cfda45be70c9d7877d23f3bfdc70672be1fa71f2.tar.gz ayatana-indicator-power-cfda45be70c9d7877d23f3bfdc70672be1fa71f2.tar.bz2 ayatana-indicator-power-cfda45be70c9d7877d23f3bfdc70672be1fa71f2.zip |
copyediting: remove trailing spaces in source code
Diffstat (limited to 'tests/test-service.cc')
-rw-r--r-- | tests/test-service.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-service.cc b/tests/test-service.cc index cae3021..b2d4dc4 100644 --- a/tests/test-service.cc +++ b/tests/test-service.cc @@ -65,7 +65,7 @@ class IndicatorTest : public ::testing::Test virtual void SetUp() { ensure_glib_initialized (); - + g_setenv( "GSETTINGS_SCHEMA_DIR", SCHEMA_DIR, TRUE); ac_device = indicator_power_device_new ( @@ -90,7 +90,7 @@ class IndicatorTest : public ::testing::Test const char* GetAccessibleDesc (IndicatorPower * power) const { GList * entries = indicator_object_get_entries (INDICATOR_OBJECT(power)); - g_assert (g_list_length(entries) == 1); + g_assert (g_list_length(entries) == 1); IndicatorObjectEntry * entry = static_cast<IndicatorObjectEntry*>(entries->data); const char * ret = entry->accessible_desc; g_list_free (entries); @@ -120,7 +120,7 @@ TEST_F(IndicatorTest, SetDevices) devices = g_slist_append (devices, ac_device); devices = g_slist_append (devices, battery_device); indicator_power_set_devices (power, devices); - g_slist_free (devices); + g_slist_free (devices); g_object_unref (power); } |