From 44592aeb5abc4a410b2ff2abb86cfabe103f49d8 Mon Sep 17 00:00:00 2001 From: Christopher McArthur Date: Wed, 20 May 2020 14:39:13 -0400 Subject: [PATCH] testing nholmann json array --- tests/NlohmannTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/NlohmannTest.cpp b/tests/NlohmannTest.cpp index b7848bc..b14294f 100644 --- a/tests/NlohmannTest.cpp +++ b/tests/NlohmannTest.cpp @@ -82,6 +82,8 @@ struct nlohmann_traits { TEST(ClaimTest, NholmannTest) { const auto claim = jwt::basic_claim(std::string("string")); + const auto array = jwt::basic_claim(std::set{"string", "string"}); std::string token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ0ZXN0In0."