aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-02-20 10:11:33 -0500
committerDavid Robillard <d@drobilla.net>2021-03-08 23:36:35 -0500
commitc579186c5dd4e11bffddd353cef8978a66ef9c10 (patch)
treeb89f1059d161872ded394a5c620a3b4f156f7972 /bindings/cpp/test
parentc7a827b07898551611d43f92cf4e2fa53595957a (diff)
downloadserd-c579186c5dd4e11bffddd353cef8978a66ef9c10.tar.gz
serd-c579186c5dd4e11bffddd353cef8978a66ef9c10.tar.bz2
serd-c579186c5dd4e11bffddd353cef8978a66ef9c10.zip
WIP: Simplify node construction
Diffstat (limited to 'bindings/cpp/test')
-rw-r--r--bindings/cpp/test/test_serd_hpp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/bindings/cpp/test/test_serd_hpp.cpp b/bindings/cpp/test/test_serd_hpp.cpp
index 24e663fa..e3721e09 100644
--- a/bindings/cpp/test/test_serd_hpp.cpp
+++ b/bindings/cpp/test/test_serd_hpp.cpp
@@ -342,8 +342,7 @@ test_nodes()
"http://example.org/rel/uri");
const auto string = serd::make_string("hello\n\"world\"");
- assert(string.flags() ==
- (serd::NodeFlag::has_newline | serd::NodeFlag::has_quote));
+ assert(!string.flags());
const auto number = serd::make_integer(42);
assert(number.flags() == serd::NodeFlag::has_datatype);