aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-22 22:12:02 +0200
committerMax Kellermann <max@duempel.org>2015-06-22 22:12:08 +0200
commite0405f1781f06276b61285c62266b70dc449cfd4 (patch)
treeb1269a7806b477192b6ba5c7121096c7be6ad23c /test
parent680d03e4d61a9b0abb9877cf4e0a0b045619b7bb (diff)
downloadmpd-e0405f1781f06276b61285c62266b70dc449cfd4.tar.gz
mpd-e0405f1781f06276b61285c62266b70dc449cfd4.tar.xz
mpd-e0405f1781f06276b61285c62266b70dc449cfd4.zip
test/test_translate_song: use PATH_LITERAL()
Diffstat (limited to 'test')
-rw-r--r--test/test_translate_song.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_translate_song.cxx b/test/test_translate_song.cxx
index e3c1bcb79..9e627d170 100644
--- a/test/test_translate_song.cxx
+++ b/test/test_translate_song.cxx
@@ -38,7 +38,7 @@ uri_supported_scheme(const char *uri)
return memcmp(uri, "http://", 7) == 0;
}
-static const char *const music_directory = "/music";
+static constexpr auto music_directory = PATH_LITERAL("/music");
static Storage *storage;
static void