<commit_before>var assert = require('assert');
var references = require('mapnik-reference');

describe('datasources', function() {
    for (var key in references.version) {
        var spec = references.version[key];
        if (spec.datasources) {
            it('show provide metadata for '+key, function() {
                var ds_spec = spec.datasources['postgis'];
                assert.ok(ds_spec['table'].type,'string');
                assert.equal(ds_spec['table'].required,true);
            });
        } else {
            it.skip('show provide metadata for '+key, function() {});
        }
    }
});<commit_msg>few more tests<commit_after>var assert = require('assert');
var references = require('mapnik-reference');

describe('datasources', function() {
    for (var key in references.version) {
        var spec = references.version[key];
        if (spec.datasources) {
            it('show provide metadata for '+key, function() {
                var ds_spec = spec.datasources['postgis'];
                assert.ok(ds_spec['table'].type,'string');
                assert.equal(ds_spec['table'].required,true);
            });
        } else {
            it.skip('show provide metadata for '+key, function() {});
        }
    }
});

describe('styles', function() {
    for (var key in references.version) {
        var spec = references.version[key];
        it('show report correct version for '+key, function() {
            assert.equal(spec.version,key);
        });
    }

    it('show reveal new property in Mapnik 2.3.0', function() {
        assert.ok(references.version['2.3.0'].symbolizers.markers['geometry-transform']);
        assert.ok(!references.version['2.0.0'].symbolizers.markers['geometry-transform']);
    });

});
{'fraction_non_alphanumeric': 0.15726495726495726, 'fraction_numerical': 0.005128205128205128, 'mean_word_length': 2.5049900199600796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1915448', 'n_tokens_mistral': 499, 'n_tokens_neox': 475, 'n_words': 102}