Add missing formatting code. Update test for missing code.

This commit is contained in:
Bob Swift
2020-03-06 14:18:57 -07:00
parent 46937bab8b
commit 2b07885c69
2 changed files with 4 additions and 10 deletions

View File

@@ -192,7 +192,7 @@ class ScriptParserTest(PicardTestCase):
self.parser.eval("$")
def test_unexpected_character(self):
areg = r"^\d+:\d+: Unexpected character"
areg = r"^\d+:\d+: Unexpected character '\^'"
with self.assertRaisesRegex(ScriptError, areg):
self.parser.eval("$^noop()")