helpers: +CNUM parser doesn't return any error

This commit is contained in:
Aleksander Morgado
2017-07-19 11:21:27 +02:00
parent 7ff5e30dce
commit 4db3ccf2af
5 changed files with 5 additions and 9 deletions
+1 -3
View File
@@ -2690,14 +2690,12 @@ test_cnum_results (const gchar *desc,
const GStrv expected)
{
GStrv results;
GError *error = NULL;
guint i;
trace ("\nTesting +CNUM response (%s)...\n", desc);
results = mm_3gpp_parse_cnum_exec_response (reply, &error);
results = mm_3gpp_parse_cnum_exec_response (reply);
g_assert (results);
g_assert_no_error (error);
g_assert_cmpuint (g_strv_length (results), ==, g_strv_length (expected));
for (i = 0; results[i]; i++) {