Nicer error responses on bad graphics data

This commit is contained in:
Kovid Goyal
2017-09-28 08:08:06 +05:30
parent 2786976c63
commit 204bd97198
3 changed files with 32 additions and 28 deletions

View File

@@ -230,5 +230,3 @@ class TestParser(BaseTest):
e('s=', 'Malformed graphics control block, expecting an integer value')
e('s==', 'Malformed graphics control block, expecting an integer value')
e('s=1=', 'Malformed graphics control block, expecting a comma or semi-colon after a value, found: 0x3d')
e('s=20000', 'Image too large')
e('v=20000', 'Image too large')