[libgweather] tests: Add comment to named-timezones test
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather] tests: Add comment to named-timezones test
- Date: Wed, 6 Dec 2017 14:23:34 +0000 (UTC)
commit 6969e4988049af9f29c38aa34b5551f0215340d8
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 6 14:45:12 2017 +0100
tests: Add comment to named-timezones test
Not that interesting, but useful nonetheless.
https://bugzilla.gnome.org/show_bug.cgi?id=791307
libgweather/test_libgweather.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c
index 6d9f56e..d51de20 100644
--- a/libgweather/test_libgweather.c
+++ b/libgweather/test_libgweather.c
@@ -41,6 +41,7 @@ test_named_timezones (void)
if (level != GWEATHER_LOCATION_NAMED_TIMEZONE)
continue;
+ /* Verify that timezone codes start with a '@' */
code = gweather_location_get_code (children[i]);
g_assert_nonnull (code);
g_assert_true (code[0] == '@');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]