Download:
child 10:22909b024e86
parent 8:177cc64a07d2
9:f3ef81a885aa
Anton Shestakov <av6@dwimlabs.net>, Thu, 08 Sep 2016 19:40:38 +0800
spec: encoding may default to 'ascii' or potentially anything else

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
spec/hglib_spec.lua file | annotate | diff | comparison | revisions
--- 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
@@ -16,7 +16,7 @@
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))
client:close()