joyent/node-triton#164 change from joyent/node-triton#137 broke 'triton --version' test case
This commit is contained in:
parent
afe1972b69
commit
37d475ffd9
@ -29,7 +29,9 @@ test('triton (basics)', function (tt) {
|
|||||||
h.triton('--version', function (err, stdout, stderr) {
|
h.triton('--version', function (err, stdout, stderr) {
|
||||||
if (h.ifErr(t, err, 'triton --version'))
|
if (h.ifErr(t, err, 'triton --version'))
|
||||||
return t.end();
|
return t.end();
|
||||||
t.ok(/^triton \d+\.\d+\.\d+/.test(stdout));
|
t.ok(/^Triton CLI \d+\.\d+\.\d+/.test(stdout),
|
||||||
|
'version on first line');
|
||||||
|
t.ok(/^https:/m.test(stdout), 'project link in version output');
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user