diff --git a/test/errorhandling/invalid_value.mss b/test/errorhandling/invalid_value.mss index 181174b..eb60b56 100644 --- a/test/errorhandling/invalid_value.mss +++ b/test/errorhandling/invalid_value.mss @@ -1,5 +1,4 @@ #world[zoom=5] { text-face-name: 2; - line-rasterizer: 'full'; text-name: 'foo'; } diff --git a/test/errorhandling/invalid_value.result b/test/errorhandling/invalid_value.result index db5a079..e70d73e 100644 --- a/test/errorhandling/invalid_value.result +++ b/test/errorhandling/invalid_value.result @@ -1,2 +1 @@ -invalid_value.mss:2:2 Invalid value for text-face-name, the type font is expected. 2 (of type float) was given. -invalid_value.mss:3:2 Invalid value for line-rasterizer, the type keyword (options: full, fast) is expected. full (of type string) was given. \ No newline at end of file +invalid_value.mss:2:2 Invalid value for text-face-name, the type font is expected. 2 (of type float) was given. \ No newline at end of file diff --git a/test/rendering-mss/variable-quoting-of-enum.mss b/test/rendering-mss/variable-quoting-of-enum.mss new file mode 100644 index 0000000..e7655aa --- /dev/null +++ b/test/rendering-mss/variable-quoting-of-enum.mss @@ -0,0 +1,5 @@ +#world { + line-rasterizer: 'fast'; + // carto should collapse to one + line-rasterizer: fast; +} diff --git a/test/rendering-mss/variable-quoting-of-enum.xml b/test/rendering-mss/variable-quoting-of-enum.xml new file mode 100644 index 0000000..bc2b811 --- /dev/null +++ b/test/rendering-mss/variable-quoting-of-enum.xml @@ -0,0 +1,5 @@ +