[Pkg-javascript-commits] [Git][js-team/node-carto][master] add debian/tests
Johannes Schauer Marin Rodrigues (@josch)
gitlab at salsa.debian.org
Wed Nov 17 22:54:32 GMT 2021
Johannes Schauer Marin Rodrigues pushed to branch master at Debian JavaScript Maintainers / node-carto
Commits:
907acd0e by Johannes Schauer Marin Rodrigues at 2021-11-17T23:54:19+01:00
add debian/tests
- - - - -
1 changed file:
- + debian/tests/pkg-js/test
Changes:
=====================================
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
View it on GitLab: https://salsa.debian.org/js-team/node-carto/-/commit/907acd0e19dae98872c49414f8ee16133c014618
--
View it on GitLab: https://salsa.debian.org/js-team/node-carto/-/commit/907acd0e19dae98872c49414f8ee16133c014618
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20211117/5768c199/attachment-0001.htm>
More information about the Pkg-javascript-commits
mailing list