Test that a whitespace-only quote grounds nothing
This commit is contained in:
@@ -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.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": "invented"}, "the transcript"))
|
||||||
self.assertFalse(loop.grounded({"ask": True, "evidence": ""}, "the transcript"))
|
self.assertFalse(loop.grounded({"ask": True, "evidence": ""}, "the transcript"))
|
||||||
|
self.assertFalse(loop.grounded({"ask": True, "evidence": " "}, "the transcript"))
|
||||||
|
|
||||||
|
|
||||||
class Verdict(unittest.TestCase):
|
class Verdict(unittest.TestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user