mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
cleanup and comment for clarity
This commit is contained in:
parent
b98633f1ba
commit
4a872a3ccf
3 changed files with 27 additions and 30 deletions
|
@ -400,8 +400,8 @@ mod tests {
|
|||
info!("doc is:\n{0}", change);
|
||||
|
||||
inner.change(&url, change, 1).await.unwrap();
|
||||
let comp1 = get_completion_labels(reg, &url, position).await;
|
||||
comp1
|
||||
|
||||
get_completion_labels(reg, &url, position).await
|
||||
}
|
||||
|
||||
///Test that completion works properly when we apply an "as" pattern to an identifier
|
||||
|
@ -491,9 +491,8 @@ mod tests {
|
|||
#[tokio::test]
|
||||
async fn test_completion_fun_params() {
|
||||
let actual = completion_test(
|
||||
indoc! {r#"
|
||||
main =\param1,param2->
|
||||
"#},
|
||||
indoc! {r"main =\param1,param2->
|
||||
"},
|
||||
"par",
|
||||
Position::new(4, 3),
|
||||
)
|
||||
|
@ -512,9 +511,8 @@ mod tests {
|
|||
#[tokio::test]
|
||||
async fn test_completion_closure() {
|
||||
let actual = completion_test(
|
||||
indoc! {r#"
|
||||
main =[]|>List.map\param1,param2->
|
||||
"#},
|
||||
indoc! {r"main =[]|>List.map\param1,param2->
|
||||
"},
|
||||
"par",
|
||||
Position::new(4, 3),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue