--- a/spec/hglib_spec.lua Fri Sep 16 10:40:32 2016 +0800
+++ b/spec/hglib_spec.lua Fri Sep 16 15:50:07 2016 +0800
describe('hglib client', function()
it('can connect using just file handles', function()
- local rh = io.open('spec/data/hello', 'rb')
+ local rh = assert(io.open('spec/data/hello', 'rb'))
local client = hglib.Client.connect(rh, nil)
assert.are_equal('closed file', io.type(rh))