Commit Graph

33 Commits

Author SHA1 Message Date
Dane Springmeyer
52343ff833 text-name is an expression so flat string is okay - tweak issue297 to actually be invalid since text-face-name is not currently an expression 2014-09-25 15:06:56 -07:00
Dane Springmeyer
544491b91d quoting of enumerations is okay, so let this be okay to carto tests 2014-09-25 14:58:58 -07:00
Tom MacWright
c570c2cd0e Add support for variable transforms - refs #163, and improve test coverage 2014-09-03 15:12:31 -04:00
Young Hahn
302d409fab Update error handling tests. 2014-05-20 16:10:31 -04:00
Tom MacWright
cb177b7a24 Throw a more descriptive error for invalid colors in ops. Fixes #309 2013-10-23 19:45:19 -04:00
Sandro Santilli
ba51c74771 Integrate mml parsing test for issue #297 2013-09-12 10:40:35 +02:00
Tom MacWright
5938ebb609 Correctly deal with invalid content in non-selfclosing tags. Fixes #297 2013-09-11 11:18:40 -04:00
Tom MacWright
49b2324ea1 Handle errant zoom-as-field better. Fixes #269. 2013-04-15 15:45:53 -04:00
Tom MacWright
26dbcf3ca3 Fix test for missing brackets 2013-03-11 16:34:43 -04:00
Tom MacWright
c5a67fa938 Missing bracket. Refs #254 2013-02-25 09:17:56 -05:00
Dane Springmeyer
bfc9d40f43 fix testcase issue # 214 -> 204 - previously incorrectly referenced 214 - refs #214 and #204 2013-01-03 18:47:10 -08:00
Tom MacWright
29b641c72d Detect and report basic self-conflicting filters.
This does not yet report anything for more complex cases. We were also testing for
tolerance of self-conflicting filters, which this breaks, in
partial_overrides. This patch may want to wait for warning reporting
since it may break stylesheets in the wild.
2013-01-03 15:06:07 -05:00
Tom MacWright
6f687ff9e3 Remove throws in function evaluation and handle color function arguments
correctly.
2013-01-03 13:47:51 -05:00
Tom MacWright
ece3eb3b0e Remove throw in zoom evaluation 2013-01-03 13:20:49 -05:00
Tom MacWright
c1e8c3b8f3 Support mapnik keywords in filters and error on bare keywords. Fixes 2013-01-03 10:11:30 -05:00
Dane Springmeyer
75875e2781 add tests for #214 - test 'a' currently fails for me 2012-12-18 16:12:47 -08:00
Dane Springmeyer
cd948535a5 add test for #218 2012-12-18 16:09:31 -08:00
Tom MacWright
00e797dc2d Did you mean for properties, with proper levenstein distance for
better matching. Fixes #199
2012-10-09 21:30:42 -04:00
Tom MacWright
e7658c618e Much better error reporting, did you mean 2012-10-09 09:09:17 -04:00
Tom MacWright
45657268f9 More verbose and informative error messages, especially when dealing
with keyword values. Fixes #109
2012-10-08 18:39:09 -04:00
Tom MacWright
c48a02196e Adding error tests for 119 and 124. Fixes #124 2012-05-01 15:48:01 -04:00
Tom MacWright
d17416b54f Test for 123 fix. Fixes #123 2012-05-01 15:17:46 -04:00
Dane Springmeyer
d01c45d714 carto works fine with node v6, so allow it 2012-03-07 12:42:16 -08:00
Tom MacWright
90fbe75213 Adding quick test case for not-enough-args error 2011-12-07 22:58:51 -05:00
Tom MacWright
b1da1af86c Nopound tests 2011-10-13 10:59:54 -04:00
Tom MacWright
70cc208e62 Add new tests, tree.Filter fix. 2011-09-06 11:00:14 -04:00
Young Hahn
e14d8f3720 Use Error objects. 2011-07-25 02:26:20 -04:00
Dane Springmeyer
f5fee15c91 add +wktext to all spherical mercator proj4 strings 2011-05-12 11:33:58 -07:00
Dane Springmeyer
a57b08dc95 add +over to proj4 mercator definitions - see https://github.com/mapbox/tilemill/issues/330 2011-05-10 17:05:07 -07:00
Tom MacWright
6626b3257e Catch several more classes of undefined variable errors. Fixes TM#278 2011-03-14 11:15:36 -04:00
Tom MacWright
39681dcae5 Adding invalid value test 2011-01-28 11:27:56 -05:00
Tom MacWright
4e8542ec3a Adding undefined variable test 2011-01-28 11:26:40 -05:00
Tom MacWright
1782e81407 Adding first error test, and error testing framework 2011-01-28 11:08:38 -05:00