rename tests

This commit is contained in:
Aleksey Kladov 2018-12-22 00:55:20 +03:00
parent ccca5aae43
commit 200cc0a1e3

View file

@ -64,7 +64,7 @@ mod tests {
} }
#[test] #[test]
fn test_completion_let_scope() { fn completes_bindings_from_let() {
check_reference_completion( check_reference_completion(
r" r"
fn quux(x: i32) { fn quux(x: i32) {
@ -78,7 +78,7 @@ mod tests {
} }
#[test] #[test]
fn test_completion_if_let_scope() { fn completes_bindings_from_if_let() {
check_reference_completion( check_reference_completion(
r" r"
fn quux() { fn quux() {
@ -96,7 +96,7 @@ mod tests {
} }
#[test] #[test]
fn test_completion_for_scope() { fn completes_bindings_from_for() {
check_reference_completion( check_reference_completion(
r" r"
fn quux() { fn quux() {
@ -110,7 +110,7 @@ mod tests {
} }
#[test] #[test]
fn test_completion_mod_scope() { fn completes_module_items() {
check_reference_completion( check_reference_completion(
r" r"
struct Foo; struct Foo;
@ -124,7 +124,7 @@ mod tests {
} }
#[test] #[test]
fn test_completion_mod_scope_nested() { fn completes_module_items_in_nested_modules() {
check_reference_completion( check_reference_completion(
r" r"
struct Foo; struct Foo;
@ -138,7 +138,7 @@ mod tests {
} }
#[test] #[test]
fn test_complete_type() { fn completes_return_type() {
check_reference_completion( check_reference_completion(
r" r"
struct Foo; struct Foo;
@ -149,7 +149,7 @@ mod tests {
} }
#[test] #[test]
fn test_complete_shadowing() { fn dont_show_to_completions_for_shadowing() {
check_reference_completion( check_reference_completion(
r" r"
fn foo() -> { fn foo() -> {
@ -165,7 +165,7 @@ mod tests {
} }
#[test] #[test]
fn test_complete_self() { fn completes_self_in_methods() {
check_reference_completion(r"impl S { fn foo(&self) { <|> } }", "self") check_reference_completion(r"impl S { fn foo(&self) { <|> } }", "self")
} }
} }