aboutsummaryrefslogtreecommitdiff
path: root/tests/completions_test.odin
diff options
context:
space:
mode:
Diffstat (limited to 'tests/completions_test.odin')
-rw-r--r--tests/completions_test.odin56
1 files changed, 0 insertions, 56 deletions
diff --git a/tests/completions_test.odin b/tests/completions_test.odin
index a9b24ce..d3a2eb7 100644
--- a/tests/completions_test.odin
+++ b/tests/completions_test.odin
@@ -4698,59 +4698,3 @@ ast_completion_struct_field_value :: proc(t: ^testing.T) {
}
test.expect_completion_docs(t, &source, "", {"test.Foo: struct {}"})
}
-
-@(test)
-ast_completion_selector_within_selector_call_expr :: proc(t: ^testing.T) {
- source := test.Source {
- main = `package test
-
- Data :: struct {
- x, y: int,
- }
-
- IFoo :: struct {
- bar: proc(self: IFoo, x: int),
- }
-
- print :: proc(self: IFoo, x: int) {}
-
- main :: proc() {
- data := Data{}
- foo := IFoo {
- bar = print,
- }
-
- foo->bar(data.{*})
- }
- `,
- }
- test.expect_completion_docs(t, &source, "", {"Data.x: int", "Data.y: int"})
-}
-
-@(test)
-ast_completion_ident_within_selector_call_expr :: proc(t: ^testing.T) {
- source := test.Source {
- main = `package test
-
- Data :: struct {
- x, y: int,
- }
-
- IFoo :: struct {
- bar: proc(self: IFoo, x: int),
- }
-
- print :: proc(self: IFoo, x: int) {}
-
- main :: proc() {
- data := Data{}
- foo := IFoo {
- bar = print,
- }
-
- foo->bar(d{*})
- }
- `,
- }
- test.expect_completion_docs(t, &source, "", {"test.data: test.Data"})
-}