From 3e9466118129b5fef9c20959f248de03d3ed3b2f Mon Sep 17 00:00:00 2001 From: Hakan Nilsson Date: Thu, 21 Dec 2023 09:43:44 +0100 Subject: [PATCH] Another one --- apps/els_lsp/test/els_hover_SUITE.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/els_lsp/test/els_hover_SUITE.erl b/apps/els_lsp/test/els_hover_SUITE.erl index babfed34b..31beb438c 100644 --- a/apps/els_lsp/test/els_hover_SUITE.erl +++ b/apps/els_lsp/test/els_hover_SUITE.erl @@ -197,9 +197,10 @@ remote_call_otp(Config) -> #{result := Result} = els_client:hover(Uri, 26, 12), ?assert(maps:is_key(contents, Result)), Contents = maps:get(contents, Result), + OtpRelease = list_to_integer(erlang:system_info(otp_release)), Value = case has_eep48(file) of - true when ?OTP_RELEASE >= 26 -> + true when OtpRelease >= 26 -> << "```erlang\nwrite(IoDevice, Bytes) -> ok | {error, " "Reason}\nwhen\n IoDevice :: io_device() | io:device(),\n"