From 0cd17f976ebb493320f850ffdf9d8ca4109e2896 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Thu, 29 Dec 2022 19:39:45 +0200 Subject: [PATCH] - Added test case for object de-serialization --- source/libpb.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libpb.d b/source/libpb.d index befcea0..6af4943 100644 --- a/source/libpb.d +++ b/source/libpb.d @@ -390,7 +390,8 @@ unittest assert(cmp(person.lastname, "Kildaire") == 0); assert(person.age == 23); assert(person.isMale == true); - //TODO: object test case, list test case + assert(person.obj["bruh"].integer() == 1); + //TODO: list test case } unittest