Test for 123 fix. Fixes #123
This commit is contained in:
parent
3c79836a9e
commit
d17416b54f
14
test/errorhandling/issue123.mml
Normal file
14
test/errorhandling/issue123.mml
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
|
||||
"Stylesheet": [
|
||||
"issue123.mss"
|
||||
],
|
||||
"Layer": [{
|
||||
"name": "countries",
|
||||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
|
||||
"Datasource": {
|
||||
"file": "http://tilemill-data.s3.amazonaws.com/test_data/shape_demo.zip",
|
||||
"type": "shape"
|
||||
}
|
||||
}]
|
||||
}
|
8
test/errorhandling/issue123.mss
Normal file
8
test/errorhandling/issue123.mss
Normal file
@ -0,0 +1,8 @@
|
||||
#countries {
|
||||
::outline {
|
||||
line-color: darken(#85c5d3);
|
||||
line-width: 2;
|
||||
line-join: round;
|
||||
}
|
||||
polygon-fill: #fff;
|
||||
}
|
1
test/errorhandling/issue123.result
Normal file
1
test/errorhandling/issue123.result
Normal file
@ -0,0 +1 @@
|
||||
issue123.mss:3:31 incorrect number of arguments for darken(). 2 expected.
|
Loading…
Reference in New Issue
Block a user