Anton Shestakov <av6@dwimlabs.net>, Sun, 23 Sep 2018 18:59:00 +0800
spec: no need to check exact phrasing, especially single vs double quote marks
--- a/spec/hglib_spec.lua Sun Sep 23 18:53:27 2018 +0800
+++ b/spec/hglib_spec.lua Sun Sep 23 18:59:00 2018 +0800
local client = hglib.Client.open()
local code, o, e, d = client:runcommand({'extirpate'})
- assert.is_not_nil(o:find('use "hg help" for the full list of commands'))
+ assert.is_not_nil(o:find('hg help'))
+ assert.is_not_nil(o:find('for the full list of commands'))
assert.is_not_nil(e:find('unknown command'))
assert.are_equal(255, code)