clistyle: Fix help output cli basic test for recent changes
This commit is contained in:
parent
fb80f734f6
commit
accf1f969e
@ -40,7 +40,7 @@ test('triton (basics)', function (tt) {
|
|||||||
return t.end();
|
return t.end();
|
||||||
t.ok(/^Usage:$/m.test(stdout));
|
t.ok(/^Usage:$/m.test(stdout));
|
||||||
t.ok(/triton help COMMAND/.test(stdout));
|
t.ok(/triton help COMMAND/.test(stdout));
|
||||||
t.ok(/create-instance/.test(stdout));
|
t.ok(/instance/.test(stdout));
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -51,7 +51,7 @@ test('triton (basics)', function (tt) {
|
|||||||
return t.end();
|
return t.end();
|
||||||
t.ok(/^Usage:$/m.test(stdout));
|
t.ok(/^Usage:$/m.test(stdout));
|
||||||
t.ok(/triton help COMMAND/.test(stdout));
|
t.ok(/triton help COMMAND/.test(stdout));
|
||||||
t.ok(/create-instance/.test(stdout));
|
t.ok(/instance/.test(stdout));
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -62,7 +62,7 @@ test('triton (basics)', function (tt) {
|
|||||||
return t.end();
|
return t.end();
|
||||||
t.ok(/^Usage:$/m.test(stdout));
|
t.ok(/^Usage:$/m.test(stdout));
|
||||||
t.ok(/triton help COMMAND/.test(stdout));
|
t.ok(/triton help COMMAND/.test(stdout));
|
||||||
t.ok(/create-instance/.test(stdout));
|
t.ok(/instance/.test(stdout));
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user