libqcdm: fix mixed whitespace in test-qcdm.c

This commit is contained in:
Dan Williams
2016-01-13 15:29:50 -06:00
parent 6a60090d68
commit 99ae677789

View File

@@ -35,15 +35,15 @@ typedef GTestFixtureFunc TCFunc;
static TestData * static TestData *
test_data_new (const char *port) test_data_new (const char *port)
{ {
TestData *d; TestData *d;
d = g_malloc0 (sizeof (TestData)); d = g_malloc0 (sizeof (TestData));
g_assert (d); g_assert (d);
if (port) if (port)
d->com_data = test_com_setup (port); d->com_data = test_com_setup (port);
return d; return d;
} }
static void static void
@@ -52,7 +52,7 @@ test_data_free (TestData *d)
if (d->com_data) if (d->com_data)
test_com_teardown (d->com_data); test_com_teardown (d->com_data);
g_free (d); g_free (d);
} }
int main (int argc, char **argv) int main (int argc, char **argv)
@@ -118,9 +118,9 @@ int main (int argc, char **argv)
g_test_suite_add (suite, TESTCASE (test_com_gsm_subsys_state_info, data->com_data)); g_test_suite_add (suite, TESTCASE (test_com_gsm_subsys_state_info, data->com_data));
} }
result = g_test_run (); result = g_test_run ();
test_data_free (data); test_data_free (data);
return result; return result;
} }