Commit aeb65b25 authored by xan@webkit.org's avatar xan@webkit.org

2009-06-16 Xan Lopez <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Do not use g_assert_cmpint to test for NULL pointer, just
        g_assert.

        * tests/testnetworkrequest.c:
        (test_network_request_create_destroy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f0bcf69b
2009-06-16 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
Do not use g_assert_cmpint to test for NULL pointer, just
g_assert.
* tests/testnetworkrequest.c:
(test_network_request_create_destroy):
2009-06-15 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
......
......@@ -36,7 +36,7 @@ static void test_network_request_create_destroy()
request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "uri", "http://debian.org/", NULL));
g_assert(WEBKIT_IS_NETWORK_REQUEST(request));
message = webkit_network_request_get_message(request);
g_assert_cmpint(message, ==, NULL);
g_assert(message);
g_object_unref(request);
/* Test creation with SoupMessage */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment