UNPKG

npm

Version:

a package manager for JavaScript

14 lines (11 loc) 223 B
var test = require('tape'); var expand = require('..'); test('pad', function(t) { t.deepEqual(expand('{9..11}'), [ '9', '10', '11' ]); t.deepEqual(expand('{09..11}'), [ '09', '10', '11' ]); t.end(); });