[epiphany] ephy-embed-utils-test: unbreak the normalization tests
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-embed-utils-test: unbreak the normalization tests
- Date: Thu, 23 Feb 2012 10:57:44 +0000 (UTC)
commit ac60d09d83f3e58a85717bff93fed1c7feab5d6e
Author: Xan Lopez <xan igalia com>
Date: Thu Feb 23 11:54:14 2012 +0100
ephy-embed-utils-test: unbreak the normalization tests
They were testing the same URI again and again...
tests/ephy-embed-utils-test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/ephy-embed-utils-test.c b/tests/ephy-embed-utils-test.c
index 122087f..c4086e4 100644
--- a/tests/ephy-embed-utils-test.c
+++ b/tests/ephy-embed-utils-test.c
@@ -142,8 +142,8 @@ main (int argc, char *argv[])
test_name = g_strconcat ("/embed/ephy-embed-utils/normalize_",
test.name, NULL);
- g_test_add_data_func (test_name, &test,
- (GTestDataFunc) test_normalize_address);
+ g_test_add_data_func (test_name, tests_normalize + i,
+ (GTestDataFunc)test_normalize_address);
g_free (test_name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]