--- a/spec/hglib_spec.lua Thu Sep 08 19:39:25 2016 +0800
+++ b/spec/hglib_spec.lua Thu Sep 08 19:40:38 2016 +0800
local client = hglib.Client.open()
assert.is_true(client.capabilities.getencoding)
assert.is_true(client.capabilities.runcommand)
- assert.are_equal('UTF-8', client.encoding)
+ assert.are_equal('string', type(client.encoding))
assert.are_equal('number', type(client.pid))
assert.are_equal('number', type(client.lpcpid))