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
immosquare-cleaner-0.1.60 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.59 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.58 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.57 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.56 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.55 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.54 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.53 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.52 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.51 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.50 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.49 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.48 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.47 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.46 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.45 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.44 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.43 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.42 node_modules/text-table/test/table.js
immosquare-cleaner-0.1.41 node_modules/text-table/test/table.js