From 19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Mar 2016 16:54:49 -0400 Subject: Rename SerdChunk to SerdStringView --- test/test_env.c | 4 ++-- test/test_uri.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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 && -- cgit v1.2.1