aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars@uebernic.de>2015-09-09 18:02:50 +0200
committerLars Uebernickel <lars@uebernic.de>2015-09-09 18:02:50 +0200
commit60f30453fb89d3769874af42a4f24c372bcad714 (patch)
tree0dabf5a8df180fe42c136f81888ad353b03b6d5f
parentbda03d74c5a36bdaac89a64ff73fcc92dbd795a0 (diff)
downloadayatana-indicator-datetime-60f30453fb89d3769874af42a4f24c372bcad714.tar.gz
ayatana-indicator-datetime-60f30453fb89d3769874af42a4f24c372bcad714.tar.bz2
ayatana-indicator-datetime-60f30453fb89d3769874af42a4f24c372bcad714.zip
test-utils: don't pass NULL as gsettings string value
NULL is not a valid string. Use the empty string instead.
-rw-r--r--tests/test-utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-utils.cpp b/tests/test-utils.cpp
index 97f07ed..f5c14d4 100644
--- a/tests/test-utils.cpp
+++ b/tests/test-utils.cpp
@@ -59,7 +59,7 @@ namespace
const char* location;
const char* expected_name;
} beautify_timezone_test_cases[] = {
- { "America/Chicago", nullptr, "Chicago" },
+ { "America/Chicago", "", "Chicago" },
{ "America/Chicago", "America/Chicago", "Chicago" },
{ "America/Chicago", "America/Chigago Chicago", "Chicago" },
{ "America/Chicago", "America/Chicago Oklahoma City", "Oklahoma City" },