From 06278f34e47a257a1c8cc2a1ca053c330b1e34d5 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Mon, 18 Feb 2019 00:42:03 +0000 Subject: Tests: fix illegal display value test. Recovery from malformed property values involves matching the various nesting mechanisms. Thanks to the bug in the parseAny state machine, this code was never run. The test data contained mismatched open parentheses, causing the recovery logic to continue reading until EOF. Fix the test input to match the expectations of the test assertions. --- test/data/parse2/illegal-values.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/data/parse2/illegal-values.dat b/test/data/parse2/illegal-values.dat index 3187e18..2d58b54 100644 --- a/test/data/parse2/illegal-values.dat +++ b/test/data/parse2/illegal-values.dat @@ -864,7 +864,7 @@ #reset #data -* { display: gB/©‹ifwD‰ËuD‰0tD‰gB‹igBgBgBC0tŠûËuŠûfwŠû/©C/©gB<ÿÿÿ:©qû§B]‰€„©gB‘¥öeÄÕ@Šà ‰ÓîLˆÅA¡pWBgBÅA.Óî‚üàÁûÄÕú‘¥Ø„©gB„©gB„©gB„©gBœ4ýÿÿÌàüÿÿ7:©tw§B`ã¨=w@.©³¬.©!Ð㨗\RG­´G³B—gBÙágBüš³B=w­´w\Rwã¨=wã¨=w³B—( ÿÿÿB4Øÿÿÿ&° ÿÿÿÿÌÿÿÿĤÿÿÿ4ã¨=w³B—/©w/©GgBG€/©j¾/©ŽåfwGËuG0tGgBŽågBj¾gBF—0twËuwfww/©F—/©j¾<ÿÿÿ:©tw§B`€„©j¾‘¥ùáÄÕCàÓîOÅA¤ìWBj¾ÅA1Óî…xàÄwÄÕ’v‘¥Ûš „©j¾„©j¾„©j¾„©j¾œ4ýÿÿÌàLùÿÿ7!:©vó§Bbã¨?ó@.©µ(.©#L㨙\RI­´I³B™gBÛ]gBþ³B?ó­´ó\Róã¨?ó; position: fixed; } +* { display: gB/©‹ifwD‰ËuD‰0tD‰gB‹igBgBgBC0tŠûËuŠûfwŠû/©C/©gB<ÿÿÿ:©qû§B]‰€„©gB‘¥öeÄÕ@Šà ‰ÓîLˆÅA¡pWBgBÅA.Óî‚üàÁûÄÕú‘¥Ø„©gB„©gB„©gB„©gBœ4ýÿÿÌàüÿÿ7:©tw§B`ã¨=w@.©³¬.©!Ð㨗\RG­´G³B—gBÙágBüš³B=w­´w\Rwã¨=wã¨=w³B—( ÿÿÿB4Øÿÿÿ&° ÿÿÿÿÌÿÿÿĤÿÿÿ4ã¨=w³B—/©w/©GgBG€/©j¾/©ŽåfwGËuG0tGgBŽågBj¾gBF—0twËuwfww/©F—/©j¾<ÿÿÿ:©tw§B`€„©j¾‘¥ùáÄÕCàÓîOÅA¤ìWBj¾ÅA1Óî…xàÄwÄÕ’v‘¥Ûš „©j¾„©j¾„©j¾„©j¾œ4ýÿÿÌàLùÿÿ7!:©vó§Bbã¨?ó@.©µ(.©#L㨙\RI­´I³B™gBÛ]gBþ³B?ó­´ó\Róã¨?ó)); position: fixed; } #errors #expected | * -- cgit v1.2.3