Skip to content

Commit c536672

Browse files
authored
'test' snippet includes double quotes (#542)
The 'test' snippet did not complete the quotes for the test name. This was an inconsistency compared to the 'describe` snippet, which included the double quotes.
1 parent de4e4eb commit c536672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server/providers/completion.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ defmodule ElixirLS.LanguageServer.Providers.Completion do
5252
{"Kernel", "defstruct"} => "defstruct $1: $2",
5353
{"ExUnit.Callbacks", "setup"} => "setup ${1:%{$2\\}} do\n\t$3\nend",
5454
{"ExUnit.Callbacks", "setup_all"} => "setup_all ${1:%{$2\\}} do\n\t$3\nend",
55-
{"ExUnit.Case", "test"} => "test $1 do\n\t$0\nend",
55+
{"ExUnit.Case", "test"} => "test \"$1\" do\n\t$0\nend",
5656
{"ExUnit.Case", "describe"} => "describe \"$1\" do\n\t$0\nend"
5757
}
5858

0 commit comments

Comments
 (0)