diff --git a/apps/els_lsp/test/els_completion_SUITE.erl b/apps/els_lsp/test/els_completion_SUITE.erl index e9cedfd7a..78bf81273 100644 --- a/apps/els_lsp/test/els_completion_SUITE.erl +++ b/apps/els_lsp/test/els_completion_SUITE.erl @@ -1664,9 +1664,10 @@ resolve_application_remote_otp(Config) -> <<"write/2">> ), #{result := Result} = els_client:completionitem_resolve(Selected), + 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"