--- a/spec/hglib_spec.lua Fri Sep 09 12:24:59 2016 +0800
+++ b/spec/hglib_spec.lua Fri Sep 09 13:24:38 2016 +0800
it('can use runcommand to request version', function()
local client = hglib.Client.open()
- local code, o, e, d = client:runcommand('version')
+ local code, o, e, d = client:runcommand('version', '--verbose')
assert.are_equal(0, code)
assert.is_not_nil(o:find('Mercurial Distributed SCM'))
+ assert.is_not_nil(o:find('Enabled extensions:'))