clistyle: Fix help output cli basic test for recent changes

This commit is contained in:
Trent Mick 2016-01-04 10:52:50 -08:00
parent fb80f734f6
commit accf1f969e

View File

@ -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();
}); });
}); });