GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 1de15cae authored by Christian Hergert's avatar Christian Hergert

tests: remove g_assert() usage

parent a70ac3a6
......@@ -44,7 +44,7 @@ test_undo_redo (GtkSourceBuffer *buffer,
for (i = 0; i < nb_actions; i++)
{
g_assert (gtk_source_buffer_can_redo (buffer));
g_assert_true (gtk_source_buffer_can_redo (buffer));
gtk_source_buffer_redo (buffer);
}
......
......@@ -183,7 +183,7 @@ print_language_style_ids (GtkSourceLanguage *language)
{
gchar **styles;
g_assert (language != NULL);
g_assert_nonnull (language);
styles = gtk_source_language_get_style_ids (language);
......@@ -543,7 +543,7 @@ paginate (GtkPrintOperation *operation,
{
gint n_pages;
g_assert (gtk_source_print_compositor_get_pagination_progress (compositor) == 1.0);
g_assert_cmpint (gtk_source_print_compositor_get_pagination_progress (compositor), ==, 1.0);
g_print ("Pagination progress: %.2f %%\n", gtk_source_print_compositor_get_pagination_progress (compositor) * 100.0);
n_pages = gtk_source_print_compositor_get_n_pages (compositor);
......
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