From c8f4e37d8e2daedf677641322cf2b73e3169ff7d Mon Sep 17 00:00:00 2001 From: Jer Miller Date: Wed, 15 Jul 2026 06:16:45 -0600 Subject: [PATCH] test(setup): complete journal_is_active contract table Add negative-number, object, and array cases so the unit table covers the full incomplete set (missing/null/0/negative/bool/object/array/string -> False) named in the acceptance criteria. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/test_config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_config.py b/tests/test_config.py index 7cdf61c9d..8644824ab 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -190,9 +190,12 @@ def _write_journal_config(journal_path, config): ({"setup": {"completed_at": 1}}, True), ({"setup": {"completed_at": 1.5}}, True), ({"setup": {"completed_at": 0}}, False), + ({"setup": {"completed_at": -1}}, False), ({"setup": {"completed_at": None}}, False), ({"setup": {"completed_at": True}}, False), ({"setup": {"completed_at": False}}, False), + ({"setup": {"completed_at": {}}}, False), + ({"setup": {"completed_at": []}}, False), ({}, False), ({"setup": {"completed_at": "foo"}}, False), ({"identity": {"name": "Active User"}}, False), -- 2.51.2