Fix broken test case.

2008-06-11  A. Walton  <awalton@gnome.org>

	* tests/g-file.c (test_g_file_new_null):
	Fix broken test case.


svn path=/trunk/; revision=7016
This commit is contained in:
A. Walton 2008-06-11 20:02:31 +00:00 committed by Andrew Walton
parent de09a5803a
commit 52a03b97c6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-11 A. Walton <awalton@gnome.org>
* tests/g-file.c (test_g_file_new_null):
Fix broken test case.
2008-06-11 Matthias Clasen <mclasen@redhat.com> 2008-06-11 Matthias Clasen <mclasen@redhat.com>
* pltcheck.sh: We use g_clear_error now. * pltcheck.sh: We use g_clear_error now.

View File

@ -69,7 +69,7 @@ test_g_file_new_null (void)
i = 0; i = 0;
while (uris[i]) while (uris[i])
{ {
file = g_file_new_for_uri (paths[i++]); file = g_file_new_for_uri (uris[i++]);
g_assert (file != NULL); g_assert (file != NULL);
g_object_unref(file); g_object_unref(file);
} }