Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

doubledot.js 476B

123456789101112131415161718192021222324
  1. var test = require('tape');
  2. var table = require('../');
  3. test('dot align', function (t) {
  4. t.plan(1);
  5. var s = table([
  6. [ '0.1.2' ],
  7. [ '11.22.33' ],
  8. [ '5.6.7' ],
  9. [ '1.22222' ],
  10. [ '12345.' ],
  11. [ '5555.' ],
  12. [ '123' ]
  13. ], { align: [ '.' ] });
  14. t.equal(s, [
  15. ' 0.1.2',
  16. '11.22.33',
  17. ' 5.6.7',
  18. ' 1.22222',
  19. '12345.',
  20. ' 5555.',
  21. ' 123'
  22. ].join('\n'));
  23. });