diff options
author | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2021-11-17 23:54:19 +0100 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2021-11-17 23:54:19 +0100 |
commit | 907acd0e19dae98872c49414f8ee16133c014618 (patch) | |
tree | 4024c76fc7ae0c8605558f44c142092eec32e2f4 | |
parent | 538130f31bf8baae11a5a4aca36b103a4eca0d31 (diff) |
add debian/tests
-rw-r--r-- | debian/tests/pkg-js/test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/tests/pkg-js/test b/debian/tests/pkg-js/test new file mode 100644 index 0000000..28c84c5 --- /dev/null +++ b/debian/tests/pkg-js/test @@ -0,0 +1,19 @@ +cat << END > expected +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE Map[]> +<Map 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"> + <Style filter-mode="first" name="world"> + <Rule> + <PolygonSymbolizer fill="#008000" /> + <LineSymbolizer stroke="#f0e6db" /> + </Rule> + </Style> + <Layer name="world" 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"> + <StyleName><![CDATA[world]]></StyleName> + </Layer> +</Map> + +END + +carto test/rendering/layer_nodatasource.mml | diff - expected +rm expected |