main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
326 bytes
|
Rev | Line | |
---|
[d565449] | 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 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.