Add failing test for whitespace preservation

This commit is contained in:
Travis Briggs 2022-10-10 15:05:48 -07:00
parent ca68c5e805
commit 0775c397ea

View file

@ -292,6 +292,12 @@ class TestFuncParser(TestCase):
ret = self.parser.parse(string, strip=True)
self.assertEqual("Test and things", ret)
@unittest.skip("broken due to https://github.com/evennia/evennia/issues/2927")
def test_parse_whitespace_preserved(self):
string = "The answer is $add(1, x)"
ret = self.parser.parse(string)
self.assertEqual("The answer is $add(1, x)", ret)
def test_parse_escape(self):
"""
Test the parser's escape functionality.