Sha256: f1ecded7dbba6a7d4e015fd5dc1b7526d46fbfe9835ff878983666a2026c8fdf

Contents?: true

Size: 326 Bytes

Versions: 106

Compression:

Stored size: 326 Bytes

Contents

var test = require('tape');
var table = require('../');

test('table', function (t) {
    t.plan(1);
    var s = table([
        [ 'master', '0123456789abcdef' ],
        [ 'staging', 'fedcba9876543210' ]
    ]);
    t.equal(s, [
        'master   0123456789abcdef',
        'staging  fedcba9876543210'
    ].join('\n'));
});

Version data entries

106 entries across 105 versions & 9 rubygems

Version Path
govuk_publishing_components-17.13.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.12.2 node_modules/text-table/test/table.js
govuk_publishing_components-17.12.1 node_modules/text-table/test/table.js
govuk_publishing_components-17.12.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.11.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.10.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.9.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.8.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.7.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.6.1 node_modules/text-table/test/table.js
govuk_publishing_components-17.6.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.5.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.4.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.3.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.2.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.1.1 node_modules/text-table/test/table.js
govuk_publishing_components-17.1.0 node_modules/text-table/test/table.js
govuk_publishing_components-17.0.0 node_modules/text-table/test/table.js
govuk_publishing_components-16.29.0 node_modules/text-table/test/table.js
govuk_publishing_components-16.28.0 node_modules/text-table/test/table.js