add test for a fix I did a while ago
This commit is contained in:
parent
8d57f60369
commit
0068662c8b
@ -35,9 +35,12 @@
|
|||||||
(let [(_ [response]) (create-client {:params (params-with-encodings nil)})]
|
(let [(_ [response]) (create-client {:params (params-with-encodings nil)})]
|
||||||
(faith.= :utf-16 (. response :result :positionEncoding)))
|
(faith.= :utf-16 (. response :result :positionEncoding)))
|
||||||
|
|
||||||
(let [(_ [response]) (create-client {:params (params-with-encodings [:some-nonsense-encoding-I-dont-know])})]
|
(let [(_ [response]) (create-client {:params (params-with-encodings [:random-encoding])})]
|
||||||
(faith.= :utf-16 (. response :result :positionEncoding)))
|
(faith.= :utf-16 (. response :result :positionEncoding)))
|
||||||
|
|
||||||
|
(let [(_ [response]) (create-client {:params (params-with-encodings [:utf-8 :utf-16])})]
|
||||||
|
(faith.= :utf-8 (. response :result :positionEncoding)))
|
||||||
|
|
||||||
nil)
|
nil)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user