diff options
author | David Robillard <d@drobilla.net> | 2020-11-14 12:31:02 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-14 12:39:38 +0100 |
commit | 5c1130819c60f52a3ab1a27711f4d8cca7a4cd14 (patch) | |
tree | 5ffa0df21d30d58e3e442bd9607e32981adbd5a4 /test | |
parent | 2bf875e89f98c64164f563a8d1fae2851d9c023c (diff) | |
download | serd-5c1130819c60f52a3ab1a27711f4d8cca7a4cd14.tar.gz serd-5c1130819c60f52a3ab1a27711f4d8cca7a4cd14.tar.bz2 serd-5c1130819c60f52a3ab1a27711f4d8cca7a4cd14.zip |
Deprecate serd_uri_to_path()
Diffstat (limited to 'test')
-rw-r--r-- | test/test_uri.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_uri.c b/test/test_uri.c index 50fc311d..0328a413 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -51,6 +51,11 @@ test_file_uri(const char* hostname, serd_node_free(&node); } +#if defined(__GNUC__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + static void test_uri_to_path(void) { @@ -79,6 +84,10 @@ test_uri_to_path(void) assert(!strcmp((const char*)serd_uri_to_path(uri), "C|/Windows/Sucks")); } +#if defined(__GNUC__) +# pragma GCC diagnostic pop +#endif + static void test_uri_parsing(void) { |