]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/text-table/test/table.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / text-table / test / table.js
1 var test = require('tape');
2 var table = require('../');
3
4 test('table', function (t) {
5     t.plan(1);
6     var s = table([
7         [ 'master', '0123456789abcdef' ],
8         [ 'staging', 'fedcba9876543210' ]
9     ]);
10     t.equal(s, [
11         'master   0123456789abcdef',
12         'staging  fedcba9876543210'
13     ].join('\n'));
14 });