From bb8ccb58de5773c19bd3072da69c239bfea32306 Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Sun, 29 Oct 2023 17:46:07 -0400 Subject: [PATCH] gleam format --- test/lsp_client_test.gleam | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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")), ))) }