1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-03 12:20:04 +02:00

bump minimist

This commit is contained in:
s2
2020-03-13 23:12:33 +01:00
parent c2f45abf0f
commit 411fa7ff39
8 changed files with 102 additions and 33 deletions

12
node_modules/minimist/test/bool.js generated vendored
View File

@@ -164,3 +164,15 @@ test('boolean --boool=false', function (t) {
t.same(parsed.boool, false);
t.end();
});
test('boolean using something similar to true', function (t) {
var opts = { boolean: 'h' };
var result = parse(['-h', 'true.txt'], opts);
var expected = {
h: true,
'_': ['true.txt']
};
t.same(result, expected);
t.end();
});