[totem-pl-parser] Fix parsing when you aren't me
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] Fix parsing when you aren't me
- Date: Tue, 4 May 2010 23:55:40 +0000 (UTC)
commit 5676ce6ffa59dd2b2e826b47f8de16f7ad83aad9
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 5 00:55:24 2010 +0100
Fix parsing when you aren't me
plparse/tests/parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index 617f4c3..d84cd61 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -359,7 +359,7 @@ test_parsing_rtsp_text (void)
static void
test_parsing_hadess (void)
{
- if (g_strcmp0 (g_get_user_name (), "hadess"))
+ if (g_strcmp0 (g_get_user_name (), "hadess") == 0)
g_assert (simple_parser_test ("file:///home/hadess/Movies") == TOTEM_PL_PARSER_RESULT_SUCCESS);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]