summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2019-02-18 00:42:03 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 13:42:03 +0000
commit06278f34e47a257a1c8cc2a1ca053c330b1e34d5 (patch)
treee2734382803b580808665a16b470e6a694a57172
parent221e1d2f9b82d0833b81b23f083c96991d8dd805 (diff)
downloadlibcss-06278f34e47a257a1c8cc2a1ca053c330b1e34d5.tar.gz
libcss-06278f34e47a257a1c8cc2a1ca053c330b1e34d5.tar.bz2
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
| *