diff options
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.cpp b/src/test.cpp index b421941..e66c4ad 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -88,7 +88,7 @@ int main() { std::cout << stanza.to_string() << std::endl; assert(stanza.get_name() == "stream_ns:stanza"); - assert(stanza["b"] == "c"); + assert(stanza.get_tag("b") == "c"); assert(stanza.get_inner() == "inner"); assert(stanza.get_tail() == ""); assert(stanza.get_child("stream_ns:child1") != nullptr); |