[gnome-logs/wip/test: 27/31] Return the time with g_strdup
- From: Rashi Aswani <aswanirashi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/wip/test: 27/31] Return the time with g_strdup
- Date: Fri, 28 Aug 2015 13:47:17 +0000 (UTC)
commit 94aa346f540571e23a4bdde90a13df52ccd420f1
Author: Rashi Aswani <aswanirashi19 gmail com>
Date: Fri Aug 21 22:47:13 2015 +0530
Return the time with g_strdup
tests/gl-mock-journal.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tests/gl-mock-journal.c b/tests/gl-mock-journal.c
index b6f3fa6..a6d6bd7 100644
--- a/tests/gl-mock-journal.c
+++ b/tests/gl-mock-journal.c
@@ -70,9 +70,8 @@ gchar *
gl_mock_journal_get_current_boot_time (GlMockJournal *journal,
const gchar *boot_match)
{
- gchar *time;
- time="01:00:00";
- return time;
+ gchar *time = "12:00 AM";
+ return g_strdup("July 29 10:55 PM - Aug 1 12:08 AM");
}
GArray *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]