diff options
author | David Robillard <d@drobilla.net> | 2016-03-16 16:54:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 16:27:02 -0500 |
commit | 19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a (patch) | |
tree | 39da1a30375903d8446250498b5f386fce515e2a /test | |
parent | 82f8f804773b10c42b17a30872a59ed76b062794 (diff) | |
download | serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.tar.gz serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.tar.bz2 serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.zip |
Rename SerdChunk to SerdStringView
Diffstat (limited to 'test')
-rw-r--r-- | test/test_env.c | 4 | ||||
-rw-r--r-- | test/test_uri.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test_env.c b/test/test_env.c index b084de3b..2d9dd702 100644 --- a/test/test_env.c +++ b/test/test_env.c @@ -31,8 +31,8 @@ test_env(void) assert(serd_env_set_base_uri(env, &SERD_NODE_NULL)); assert(serd_node_equals(serd_env_get_base_uri(env, NULL), &SERD_NODE_NULL)); - SerdChunk prefix; - SerdChunk suffix; + SerdStringView prefix; + SerdStringView suffix; assert(!serd_env_qualify(NULL, &u, &u, &suffix)); assert(serd_env_expand(NULL, &c, &prefix, &suffix)); assert(serd_env_expand(env, &b, &prefix, &suffix)); diff --git a/test/test_uri.c b/test/test_uri.c index d22ece63..2a42e5f6 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -130,7 +130,7 @@ test_uri_from_string(void) } static inline bool -chunk_equals(const SerdChunk* a, const SerdChunk* b) +chunk_equals(const SerdStringView* a, const SerdStringView* b) { return (!a->len && !b->len && !a->buf && !b->buf) || (a->len && b->len && a->buf && b->buf && |