diff options
author | David Robillard <d@drobilla.net> | 2021-07-11 18:44:03 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 3a4bd5f1b31cb5c1522d9e6c7222414342682467 (patch) | |
tree | f4d7f87260cdcdd39ad4051c113cadf149c4fa43 /test/test_statement.c | |
parent | 8c67f9eba47d30913749e607c440b170a5cbd804 (diff) | |
download | serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.tar.gz serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.tar.bz2 serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.zip |
[WIP] Remove SERD_CURIE node datatype entirely
Diffstat (limited to 'test/test_statement.c')
-rw-r--r-- | test/test_statement.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/test_statement.c b/test/test_statement.c index 844955f8..d70542f1 100644 --- a/test/test_statement.c +++ b/test/test_statement.c @@ -17,21 +17,19 @@ static void test_new(void) { SerdNode* const u = serd_new_uri(serd_string(NS_EG "s")); - SerdNode* const c = serd_new_curie(serd_string("eg:c")); SerdNode* const b = serd_new_blank(serd_string("b0")); SerdNode* const l = serd_new_string(serd_string("str")); - assert(!serd_statement_new(c, b, u, NULL, NULL)); - assert(!serd_statement_new(l, c, u, NULL, NULL)); - assert(!serd_statement_new(l, u, c, u, NULL)); - assert(!serd_statement_new(u, l, c, NULL, NULL)); - assert(!serd_statement_new(u, l, u, u, NULL)); - assert(!serd_statement_new(u, l, u, u, NULL)); + assert(!serd_statement_new(u, b, u, NULL, NULL)); + assert(!serd_statement_new(l, u, u, NULL, NULL)); + assert(!serd_statement_new(l, u, b, u, NULL)); + assert(!serd_statement_new(u, l, b, NULL, NULL)); + assert(!serd_statement_new(u, l, b, u, NULL)); + assert(!serd_statement_new(u, u, u, l, NULL)); serd_node_free(l); serd_node_free(b); serd_node_free(u); - serd_node_free(c); } static void |