We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41777a commit 401a7f8Copy full SHA for 401a7f8
test/elixir_sense/core/introspection_test.exs
@@ -53,8 +53,12 @@ defmodule ElixirSense.Core.IntrospectionTest do
53
}
54
] = get_callbacks_with_docs(:gen_statem) |> Enum.filter(&(&1.name == :callback_mode))
55
56
- if ExUnitConfig.erlang_eep48_supported() do
57
- assert "- CallbackMode = " <> _ = summary
+ if System.otp_release() |> String.to_integer() >= 23 do
+ if System.otp_release() |> String.to_integer() >= 27 do
58
+ assert "This function is" <> _ = summary
59
+ else
60
+ assert "- CallbackMode = " <> _ = summary
61
+ end
62
end
63
64
0 commit comments