Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

table.js 326B

1234567891011121314
  1. var test = require('tape');
  2. var table = require('../');
  3. test('table', function (t) {
  4. t.plan(1);
  5. var s = table([
  6. [ 'master', '0123456789abcdef' ],
  7. [ 'staging', 'fedcba9876543210' ]
  8. ]);
  9. t.equal(s, [
  10. 'master 0123456789abcdef',
  11. 'staging fedcba9876543210'
  12. ].join('\n'));
  13. });