diff options
Diffstat (limited to 'test/test_terse_write.c')
-rw-r--r-- | test/test_terse_write.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/test_terse_write.c b/test/test_terse_write.c index 0bdb0280..3fa08fbd 100644 --- a/test/test_terse_write.c +++ b/test/test_terse_write.c @@ -43,16 +43,16 @@ test(void) SerdWorld* world = serd_world_new(NULL); SerdEnv* env = serd_env_new(NULL, serd_empty_string()); - SerdNode* b1 = serd_new_blank(NULL, serd_string("b1")); - SerdNode* l1 = serd_new_blank(NULL, serd_string("l1")); - SerdNode* l2 = serd_new_blank(NULL, serd_string("l2")); - SerdNode* s1 = serd_new_string(NULL, serd_string("s1")); - SerdNode* s2 = serd_new_string(NULL, serd_string("s2")); - - SerdNode* rdf_first = serd_new_uri(NULL, serd_string(NS_RDF "first")); - SerdNode* rdf_value = serd_new_uri(NULL, serd_string(NS_RDF "value")); - SerdNode* rdf_rest = serd_new_uri(NULL, serd_string(NS_RDF "rest")); - SerdNode* rdf_nil = serd_new_uri(NULL, serd_string(NS_RDF "nil")); + SerdNode* b1 = serd_node_new(NULL, serd_a_blank_string("b1")); + SerdNode* l1 = serd_node_new(NULL, serd_a_blank_string("l1")); + SerdNode* l2 = serd_node_new(NULL, serd_a_blank_string("l2")); + SerdNode* s1 = serd_node_new(NULL, serd_a_string("s1")); + SerdNode* s2 = serd_node_new(NULL, serd_a_string("s2")); + + SerdNode* rdf_first = serd_node_new(NULL, serd_a_uri_string(NS_RDF "first")); + SerdNode* rdf_value = serd_node_new(NULL, serd_a_uri_string(NS_RDF "value")); + SerdNode* rdf_rest = serd_node_new(NULL, serd_a_uri_string(NS_RDF "rest")); + SerdNode* rdf_nil = serd_node_new(NULL, serd_a_uri_string(NS_RDF "nil")); serd_env_set_prefix(env, serd_string("rdf"), serd_string(NS_RDF)); |