Download:
child 51:7e254352cf05
parent 49:0ed0f42e8c28
50:5dc03ec4ebbc
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

1 файлов изменено, 2 вставок(+), 1 удалений(-) [+]
spec/hglib_spec.lua file | annotate | diff | comparison | revisions
--- 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
@@ -65,7 +65,8 @@
local client = hglib.Client.open()
local code, o, e, d = client:runcommand({'extirpate'})
client:close()
- 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('', d)
assert.are_equal(255, code)