aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-06-14 22:24:52 +1200
committerDylan <boss@tehbox.org>2026-06-14 22:24:52 +1200
commit82a68f09ecf2440b22c2604fe207bbee1c5f4d3a (patch)
tree73437353a456a41366cf5a48e52c70d480a925f7 /test
parente742522e2f428a17cd389e030d167fadcd25c8ef (diff)
downloadtehjson-82a68f09ecf2440b22c2604fe207bbee1c5f4d3a.tar.gz
tehjson-82a68f09ecf2440b22c2604fe207bbee1c5f4d3a.zip
feat: Added arrays for all literal types
Diffstat (limited to 'test')
-rw-r--r--test/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.cpp b/test/main.cpp
index 0f9df3a..9ed4bc6 100644
--- a/test/main.cpp
+++ b/test/main.cpp
@@ -15,7 +15,7 @@ int main()
jsonWriter["test_int"].set<int>(123);
jsonWriter["test_float"].set<float>(51.8);
jsonWriter["test_vecs"]["int"].set<int>({1, 2, 3});
- // jsonWriter["test_vecs"]["float"].set<float>({0.1, 0.2, 0.3});
+ jsonWriter["test_vecs"]["float"].set<float>({0.1, 0.2, 0.3});
jsonWriter["test_true"].set(true);
jsonWriter["test_false"].set(false);
jsonWriter["test_object"]["test_int"].set<int>(100);