Download:
child 12:928e6b6d811d
parent 10:22909b024e86
11:5270185b6e41
Anton Shestakov <av6@dwimlabs.net>, Fri, 09 Sep 2016 01:06:05 +0800
spec: check that file handles are indeed open file handles

1 файлов изменено, 2 вставок(+), 0 удалений(-) [+]
spec/hglib_spec.lua file | annotate | diff | comparison | revisions
--- a/spec/hglib_spec.lua Thu Sep 08 20:46:39 2016 +0800
+++ b/spec/hglib_spec.lua Fri Sep 09 01:06:05 2016 +0800
@@ -36,6 +36,8 @@
assert.are_equal('string', type(client.encoding))
assert.are_equal('number', type(client.pid))
assert.are_equal('number', type(client.lpcpid))
+ assert.are_equal('file', io.type(client.rh))
+ assert.are_equal('file', io.type(client.wh))
client:close()
end)