aboutsummaryrefslogtreecommitdiff
path: root/libdino/tests
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2026-05-30 16:10:36 +0200
committerMarvin W <git@larma.de>2026-06-07 23:13:07 +0200
commit158cff3098e9370696f9250a199c78e4f2d18ce0 (patch)
treebd05a55e5419ef2307c7a7f4d7665f7449c8e8b1 /libdino/tests
parentafcf44928748f7ac049f1ba9f5c51c6dedbf4ec2 (diff)
Add JID interning
Diffstat (limited to 'libdino/tests')
-rw-r--r--libdino/tests/jid.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/tests/jid.vala b/libdino/tests/jid.vala
index 08ec5c3a..072d41a5 100644
--- a/libdino/tests/jid.vala
+++ b/libdino/tests/jid.vala
@@ -12,7 +12,7 @@ class JidTest : Gee.TestCase {
}
private void test_parse() {
- Jid jid = new Jid("user@example.com/res");
+ Jid jid = Jid.from_string("user@example.com/res");
fail_if(jid.localpart != "user");
fail_if(jid.domainpart != "example.com");
fail_if(jid.resourcepart != "res");