diff options
author | Lars Uebernickel <lars@uebernic.de> | 2015-09-09 18:02:50 +0200 |
---|---|---|
committer | Lars Uebernickel <lars@uebernic.de> | 2015-09-09 18:02:50 +0200 |
commit | 60f30453fb89d3769874af42a4f24c372bcad714 (patch) | |
tree | 0dabf5a8df180fe42c136f81888ad353b03b6d5f | |
parent | bda03d74c5a36bdaac89a64ff73fcc92dbd795a0 (diff) | |
download | ayatana-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.cpp | 2 |
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" }, |