mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-19 21:38:13 +08:00
Add signature test
This commit is contained in:
parent
8d739816f1
commit
4760c5d7e5
1 changed files with 3 additions and 0 deletions
|
@ -1502,6 +1502,9 @@ defmodule Livebook.IntellisenseTest do
|
|||
|
||||
assert %{active_argument: 2, signature_items: [_item]} =
|
||||
Intellisense.get_signature_items("IO.ANSI.color(1, 2, 3", context)
|
||||
|
||||
assert %{active_argument: 1, signature_items: [_item]} =
|
||||
Intellisense.get_signature_items("elem(x, 1 + ", context)
|
||||
end
|
||||
|
||||
test "returns correct active argument when using pipe operator" do
|
||||
|
|
Loading…
Reference in a new issue