summaryrefslogtreecommitdiff
path: root/src/libqmi-glib/test/test-generated.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-04-11 09:30:07 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-04-11 09:30:07 +0200
commitd1d728440927c926d67955cfba750ed62db29482 (patch)
treea991ee13ea740e567026d0793ed0ec2f8bff9a7c /src/libqmi-glib/test/test-generated.c
parent32039011a77594a73e693979dcf68e6bf624b947 (diff)
libqmi-glib,test: stricter "get serving system" testing
Diffstat (limited to 'src/libqmi-glib/test/test-generated.c')
-rw-r--r--src/libqmi-glib/test/test-generated.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libqmi-glib/test/test-generated.c b/src/libqmi-glib/test/test-generated.c
index 36b357c..267318c 100644
--- a/src/libqmi-glib/test/test-generated.c
+++ b/src/libqmi-glib/test/test-generated.c
@@ -679,11 +679,11 @@ nas_get_serving_system_ready (QmiClientNas *client,
guint16 mnc;
const gchar *description;
- if (qmi_message_nas_get_serving_system_output_get_current_plmn (output, &mcc, &mnc, &description, NULL)) {
- g_assert_cmpuint (mcc, ==, 222);
- g_assert_cmpuint (mnc, ==, 50);
- g_assert_cmpstr (description, ==, "Iliad");
- }
+ g_assert (qmi_message_nas_get_serving_system_output_get_current_plmn (output, &mcc, &mnc, &description, &error));
+ g_assert_no_error (error);
+ g_assert_cmpuint (mcc, ==, 222);
+ g_assert_cmpuint (mnc, ==, 50);
+ g_assert_cmpstr (description, ==, "Iliad");
}
qmi_message_nas_get_serving_system_output_unref (output);