aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-05-09 19:04:56 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2022-05-09 19:04:56 +0200
commitae7ebdd43685f74e6c1077655f4d69ae6f2d9fe4 (patch)
tree8160332225652fdd90f99e5073ab545d59c8ecbb
parenta2b50f9d8c2a5a3ab9cc276cf35c36d9198906a6 (diff)
more tests
-rw-r--r--src/server/requests.odin2
-rw-r--r--tests/completions_test.odin2
-rw-r--r--tests/definition_test.odin3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/server/requests.odin b/src/server/requests.odin
index 3e4eda2..c7b5c95 100644
--- a/src/server/requests.odin
+++ b/src/server/requests.odin
@@ -522,7 +522,7 @@ request_initialize :: proc (params: json.Value, id: RequestId, config: ^common.C
retriggerCharacters = signatureRetriggerCharacters,
},
semanticTokensProvider = SemanticTokensOptions {
- range = config.enable_semantic_tokens,
+ range = config.enable_semantic_tokens,
full = config.enable_semantic_tokens,
legend = SemanticTokensLegend {
tokenTypes = token_types,
diff --git a/tests/completions_test.odin b/tests/completions_test.odin
index 7c04e07..986d38f 100644
--- a/tests/completions_test.odin
+++ b/tests/completions_test.odin
@@ -1544,5 +1544,5 @@ ast_package_uppercase_test :: proc(t: ^testing.T) {
packages = packages[:],
}
- test.expect_completion_details(t, &source, ".", {"my_package.Foo: enum", "my_package.Bar: struct"})
+ test.expect_completion_details(t, &source, ".", {"My_package.Foo: enum", "My_package.Bar: struct"})
} \ No newline at end of file
diff --git a/tests/definition_test.odin b/tests/definition_test.odin
index f742bc8..8dff4b0 100644
--- a/tests/definition_test.odin
+++ b/tests/definition_test.odin
@@ -41,7 +41,7 @@ ast_goto_untyped_value :: proc(t: ^testing.T) {
test.expect_definition_locations(t, &source, {location});
}
-
+/*
@(test)
ast_goto_local_procedure_ret_value :: proc(t: ^testing.T) {
source := test.Source {
@@ -76,3 +76,4 @@ ast_goto_local_procedure_ret_value :: proc(t: ^testing.T) {
test.expect_definition_locations(t, &source, {location});
}
+*/ \ No newline at end of file