summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2019-02-18 00:42:03 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2019-02-18 00:42:03 +0000
commit843fc213d3f21a8402fcf0358940a8079d8bc927 (patch)
treeb3b137b0cf69edc99bd68adb5844f4cb1ef16a49
parente9c42105dc74a431a36b047852dca4b516d6ca87 (diff)
downloadlibcss-843fc213d3f21a8402fcf0358940a8079d8bc927.tar.gz
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.
-rw-r--r--test/data/parse2/illegal-values.dat2
1 files changed, 1 insertions, 1 deletions
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: 
+* { display: 
#errors
#expected
| *