diff --git a/test/lsp_client_test.gleam b/test/lsp_client_test.gleam index 4e6ace7..c528efc 100644 --- a/test/lsp_client_test.gleam +++ b/test/lsp_client_test.gleam @@ -26,13 +26,12 @@ pub fn it_should_parse_multiple_messages_test() { } pub fn it_should_parse_valid_hover_message_test() { - let msg = "{\"jsonrpc\":\"2.0\",\"id\":85,\"result\":{\"contents\":\"```gleam\\nInt\\n```\\n\",\"range\":{\"end\":{\"character\":7,\"line\":1},\"start\":{\"character\":4,\"line\":1}}}}" + let msg = + "{\"jsonrpc\":\"2.0\",\"id\":85,\"result\":{\"contents\":\"```gleam\\nInt\\n```\\n\",\"range\":{\"end\":{\"character\":7,\"line\":1},\"start\":{\"character\":4,\"line\":1}}}}" client.decode(msg) |> should.equal(Ok(client.Response( id: 85, - result: client.Hover( - contents: Some("```gleam\nInt\n```\n") - ) + result: client.Hover(contents: Some("```gleam\nInt\n```\n")), ))) }