[gcr] gcr: Fix test-parser to treat '6' as normal char in test names
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] gcr: Fix test-parser to treat '6' as normal char in test names
- Date: Sat, 19 Apr 2014 20:37:15 +0000 (UTC)
commit 0055739fd27f9e58b27a75298e45ae9a86f3f2c2
Author: Stef Walter <stefw gnome org>
Date: Fri Apr 18 10:36:10 2014 +0200
gcr: Fix test-parser to treat '6' as normal char in test names
This caused extra underscores in file names that had a 6 in them.
gcr/test-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcr/test-parser.c b/gcr/test-parser.c
index a8dced7..20c0135 100644
--- a/gcr/test-parser.c
+++ b/gcr/test-parser.c
@@ -362,7 +362,7 @@ main (int argc, char **argv)
lower = g_ascii_strdown (filename, -1);
test = g_strdup_printf ("/gcr/parser/%s",
- g_strcanon (lower, "abcdefghijklmnopqrstuvwxyz012345789", '_'));
+ g_strcanon (lower, "abcdefghijklmnopqrstuvwxyz0123456789", '_'));
g_free (lower);
g_test_add (test, Test, path, setup, test_parse_one, teardown);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]