tests: fix CGDCONT reply test, NULL expected instead of empty string

This commit is contained in:
Aleksander Morgado
2012-02-28 01:25:30 +01:00
parent 7f0afa078b
commit 21c0731ad9

View File

@@ -1223,7 +1223,7 @@ test_cgdcont_response_nokia (void *f, gpointer d)
{ {
const gchar *reply = "+CGDCONT: 1,\"IP\",,,0,0"; const gchar *reply = "+CGDCONT: 1,\"IP\",,,0,0";
static MM3gppPdpContext expected[] = { static MM3gppPdpContext expected[] = {
{ 1, "IP", "" } { 1, "IP", NULL }
}; };
test_cgdcont_results ("Nokia", reply, &expected[0], G_N_ELEMENTS (expected)); test_cgdcont_results ("Nokia", reply, &expected[0], G_N_ELEMENTS (expected));