From 843fc213d3f21a8402fcf0358940a8079d8bc927 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.1