aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/test/test_serd_hpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cpp/test/test_serd_hpp.cpp')
-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);