[gtk+/parser: 22/74] tests: Make CSS parser pass NULL as error.
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/parser: 22/74] tests: Make CSS parser pass NULL as error.
- Date: Mon, 9 May 2011 15:23:49 +0000 (UTC)
commit 384e89ecdcfe09775e0e0b7708d75243cec963ba
Author: Benjamin Otte <otte redhat com>
Date: Fri Apr 8 16:12:35 2011 +0200
tests: Make CSS parser pass NULL as error.
We are trapping errors via signals now.
tests/css/parser/test-css-parser.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/tests/css/parser/test-css-parser.c b/tests/css/parser/test-css-parser.c
index b947bdf..77c9aa4 100644
--- a/tests/css/parser/test-css-parser.c
+++ b/tests/css/parser/test-css-parser.c
@@ -159,13 +159,10 @@ test_css_file (GFile *file)
errors);
gtk_css_provider_load_from_path (provider,
css_file,
- &error);
- g_assert_no_error (error);
+ NULL);
css = gtk_css_provider_to_string (provider);
- g_assert_no_error (error);
-
reference_file = test_get_reference_file (css_file);
diff = diff_with_file (reference_file, css, -1, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]