Test that a whitespace-only quote grounds nothing

This commit is contained in:
2026-09-25 18:24:07 +02:00
parent babba7ed51
commit 3e4c30281e
+1
View File
@@ -249,6 +249,7 @@ class Grounded(unittest.TestCase):
self.assertTrue(loop.grounded({"ask": True, "evidence": "Needs you: x"}, "so.\n\nNeeds you: x\n"))
self.assertFalse(loop.grounded({"ask": True, "evidence": "invented"}, "the transcript"))
self.assertFalse(loop.grounded({"ask": True, "evidence": ""}, "the transcript"))
self.assertFalse(loop.grounded({"ask": True, "evidence": " "}, "the transcript"))
class Verdict(unittest.TestCase):