Remove autocompletion to deprecated operator

This commit is contained in:
José Valim 2021-12-10 23:39:30 +01:00
parent bb27fc9fa8
commit 67e73b6f89

View file

@ -360,29 +360,6 @@ defmodule Livebook.IntellisenseTest do
assert [^regex_item] = Intellisense.get_completion_items("~r", binding, env)
end
test "Elixir sigil-like operators" do
{binding, env} =
eval do
import Bitwise
end
bitwise_not_item = %{
label: "~~~/1",
kind: :function,
detail: "~~~expr",
documentation: """
Bitwise NOT unary operator.
```
@spec ~~~integer() :: integer()
```\
""",
insert_text: "~~~"
}
assert bitwise_not_item in Intellisense.get_completion_items("~", binding, env)
end
@tag :erl_docs
test "Erlang function completion" do
{binding, env} = eval(do: nil)