mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-10 15:04:25 +08:00
Fix tests on OTP 25 (#1204)
This commit is contained in:
parent
fb13c9cf22
commit
2bec50d910
1 changed files with 7 additions and 14 deletions
|
@ -88,27 +88,20 @@ defmodule Livebook.IntellisenseTest do
|
||||||
|
|
||||||
assert [
|
assert [
|
||||||
%{
|
%{
|
||||||
label: ":user",
|
label: ":orddict",
|
||||||
kind: :module,
|
kind: :module,
|
||||||
detail: "module",
|
detail: "module",
|
||||||
documentation: _user_doc,
|
documentation: _orddict_doc,
|
||||||
insert_text: "user"
|
insert_text: "orddict"
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
label: ":user_drv",
|
label: ":ordsets",
|
||||||
kind: :module,
|
kind: :module,
|
||||||
detail: "module",
|
detail: "module",
|
||||||
documentation: _user_drv_doc,
|
documentation: _ordsets_doc,
|
||||||
insert_text: "user_drv"
|
insert_text: "ordsets"
|
||||||
},
|
|
||||||
%{
|
|
||||||
label: ":user_sup",
|
|
||||||
kind: :module,
|
|
||||||
detail: "module",
|
|
||||||
documentation: _user_sup_doc,
|
|
||||||
insert_text: "user_sup"
|
|
||||||
}
|
}
|
||||||
] = Intellisense.get_completion_items(":user", context)
|
] = Intellisense.get_completion_items(":ord", context)
|
||||||
end
|
end
|
||||||
|
|
||||||
@tag :erl_docs
|
@tag :erl_docs
|
||||||
|
|
Loading…
Add table
Reference in a new issue