-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add snapshot tests for completion functionality
- Loading branch information
1 parent
e80afba
commit 07a6b26
Showing
38 changed files
with
808 additions
and
1,888 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
.../snapshots/kcl_language_server__completion__tests__attr_value_completion_boolean.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1237 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[" True"] |
6 changes: 6 additions & 0 deletions
6
...src/snapshots/kcl_language_server__completion__tests__attr_value_completion_dict.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1245 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[" {}"] |
6 changes: 6 additions & 0 deletions
6
.../snapshots/kcl_language_server__completion__tests__attr_value_completion_integer.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1229 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[" 1"] |
6 changes: 6 additions & 0 deletions
6
...src/snapshots/kcl_language_server__completion__tests__attr_value_completion_list.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1221 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[" []"] |
6 changes: 6 additions & 0 deletions
6
...c/snapshots/kcl_language_server__completion__tests__attr_value_completion_schema.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1253 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[" sub.Person1{}"] |
6 changes: 6 additions & 0 deletions
6
.../snapshots/kcl_language_server__completion__tests__attr_value_completion_strings.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1213 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[" \"abc\"", " \"def\""] |
6 changes: 6 additions & 0 deletions
6
...apshots/kcl_language_server__completion__tests__attr_value_completion_true_false.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1205 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[" False", " True"] |
6 changes: 6 additions & 0 deletions
6
...SP/src/snapshots/kcl_language_server__completion__tests__basic_completion_labels.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1189 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["age", "name"] |
6 changes: 6 additions & 0 deletions
6
...pshots/kcl_language_server__completion__tests__check_scope_completion_test_part2.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1357 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["Person", "Person{}", "name"] |
6 changes: 6 additions & 0 deletions
6
...SP/src/snapshots/kcl_language_server__completion__tests__comment_completion_test.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1333 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[] |
6 changes: 6 additions & 0 deletions
6
...src/snapshots/kcl_language_server__completion__tests__dot_schema_attr_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1109 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["age", "name"] |
6 changes: 6 additions & 0 deletions
6
...napshots/kcl_language_server__completion__tests__dot_str_builtin_func_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1117 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["capitalize(…)", "count(…)", "endswith(…)", "find(…)", "format(…)", "index(…)", "isalnum(…)", "isalpha(…)", "isdigit(…)", "islower(…)", "isspace(…)", "istitle(…)", "isupper(…)", "join(…)", "lower(…)", "lstrip(…)", "removeprefix(…)", "removesuffix(…)", "replace(…)", "rfind(…)", "rindex(…)", "rsplit(…)", "rstrip(…)", "split(…)", "splitlines(…)", "startswith(…)", "strip(…)", "title(…)", "upper(…)"] |
6 changes: 6 additions & 0 deletions
6
...rc/snapshots/kcl_language_server__completion__tests__import_builtin_package_test.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1197 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["base64", "collection", "crypto", "datetime", "file", "json", "manifests", "math", "net", "regex", "runtime", "template", "units", "yaml"] |
6 changes: 6 additions & 0 deletions
6
...src/snapshots/kcl_language_server__completion__tests__import_pkg_path_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1125 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["file1", "file2", "subpkg"] |
6 changes: 6 additions & 0 deletions
6
...c/snapshots/kcl_language_server__completion__tests__import_pkg_schema_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1133 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["Person1"] |
6 changes: 6 additions & 0 deletions
6
...ots/kcl_language_server__completion__tests__join_str_inner_completion_test_part1.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1365 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[] |
6 changes: 6 additions & 0 deletions
6
...ots/kcl_language_server__completion__tests__join_str_inner_completion_test_part2.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1373 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[] |
6 changes: 6 additions & 0 deletions
6
...hots/kcl_language_server__completion__tests__literal_str_builtin_func_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1149 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["capitalize(…)", "count(…)", "endswith(…)", "find(…)", "format(…)", "index(…)", "isalnum(…)", "isalpha(…)", "isdigit(…)", "islower(…)", "isspace(…)", "istitle(…)", "isupper(…)", "join(…)", "lower(…)", "lstrip(…)", "removeprefix(…)", "removesuffix(…)", "replace(…)", "rfind(…)", "rindex(…)", "rsplit(…)", "rstrip(…)", "split(…)", "splitlines(…)", "startswith(…)", "strip(…)", "title(…)", "upper(…)"] |
6 changes: 6 additions & 0 deletions
6
...c/LSP/src/snapshots/kcl_language_server__completion__tests__math_func_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1141 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["ceil(…)", "exp(…)", "expm1(…)", "factorial(…)", "floor(…)", "gcd(…)", "isfinite(…)", "isinf(…)", "isnan(…)", "log(…)", "log10(…)", "log1p(…)", "log2(…)", "modf(…)", "pow(…)", "sqrt(…)"] |
6 changes: 6 additions & 0 deletions
6
...c/snapshots/kcl_language_server__completion__tests__missing_expr_completion_test.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1341 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["cpu", "memory"] |
6 changes: 6 additions & 0 deletions
6
.../snapshots/kcl_language_server__completion__tests__schema_attr_completion_labels.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1101 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["", "age", "math", "name", "subpkg"] |
6 changes: 6 additions & 0 deletions
6
.../snapshots/kcl_language_server__completion__tests__schema_docstring_newline_test.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1269 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["\n\nAttributes\n----------\nname: \nworkloadType: \nreplica: \n\nExamples\n--------\n"] |
6 changes: 6 additions & 0 deletions
6
...rc/LSP/src/snapshots/kcl_language_server__completion__tests__schema_end_pos_test.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1325 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["Params", "Params{}", "max", "min"] |
6 changes: 6 additions & 0 deletions
6
...src/snapshots/kcl_language_server__completion__tests__schema_sig_completion_test.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1261 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["Base", "Base{}", "Config", "Config{}", "Name", "Name{}", "Person", "Person(b){}", "abs(…)", "all_true(…)", "any_true(…)", "bin(…)", "bool(…)", "dict(…)", "float(…)", "hex(…)", "int(…)", "isnullish(…)", "isunique(…)", "len(…)", "list(…)", "max(…)", "min(…)", "multiplyof(…)", "n", "oct(…)", "option(…)", "ord(…)", "p", "pow(…)", "print(…)", "range(…)", "round(…)", "sorted(…)", "str(…)", "sum(…)", "typeof(…)", "zip(…)"] |
6 changes: 6 additions & 0 deletions
6
...c/snapshots/kcl_language_server__completion__tests__schema_ty_attr_complete_test.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1317 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["name"] |
6 changes: 6 additions & 0 deletions
6
...s/kcl_language_server__completion__tests__schema_type_attr_completion_test_part1.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1381 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["name"] |
6 changes: 6 additions & 0 deletions
6
...s/kcl_language_server__completion__tests__schema_type_attr_completion_test_part2.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1389 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["name"] |
6 changes: 6 additions & 0 deletions
6
.../snapshots/kcl_language_server__completion__tests__single_schema_attr_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1157 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["a"] |
6 changes: 6 additions & 0 deletions
6
...s/kcl_language_server__completion__tests__str_dot_completion_test_end_of_literal.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1277 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["capitalize(…)", "count(…)", "endswith(…)", "find(…)", "format(…)", "index(…)", "isalnum(…)", "isalpha(…)", "isdigit(…)", "islower(…)", "isspace(…)", "istitle(…)", "isupper(…)", "join(…)", "lower(…)", "lstrip(…)", "removeprefix(…)", "removesuffix(…)", "replace(…)", "rfind(…)", "rindex(…)", "rsplit(…)", "rstrip(…)", "split(…)", "splitlines(…)", "startswith(…)", "strip(…)", "title(…)", "upper(…)"] |
6 changes: 6 additions & 0 deletions
6
...kcl_language_server__completion__tests__str_dot_completion_test_inside_literal_1.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1293 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[] |
6 changes: 6 additions & 0 deletions
6
...kcl_language_server__completion__tests__str_dot_completion_test_inside_literal_2.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1301 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
[] |
6 changes: 6 additions & 0 deletions
6
.../kcl_language_server__completion__tests__str_dot_completion_test_second_line_end.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1285 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["capitalize(…)", "count(…)", "endswith(…)", "find(…)", "format(…)", "index(…)", "isalnum(…)", "isalpha(…)", "isdigit(…)", "islower(…)", "isspace(…)", "istitle(…)", "isupper(…)", "join(…)", "lower(…)", "lstrip(…)", "removeprefix(…)", "removesuffix(…)", "replace(…)", "rfind(…)", "rindex(…)", "rsplit(…)", "rstrip(…)", "split(…)", "splitlines(…)", "startswith(…)", "strip(…)", "title(…)", "upper(…)"] |
6 changes: 6 additions & 0 deletions
6
...shots/kcl_language_server__completion__tests__str_dot_completion_test_third_line.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1309 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["capitalize(…)", "count(…)", "endswith(…)", "find(…)", "format(…)", "index(…)", "isalnum(…)", "isalpha(…)", "isdigit(…)", "islower(…)", "isspace(…)", "istitle(…)", "isupper(…)", "join(…)", "lower(…)", "lstrip(…)", "removeprefix(…)", "removesuffix(…)", "replace(…)", "rfind(…)", "rindex(…)", "rsplit(…)", "rstrip(…)", "split(…)", "splitlines(…)", "startswith(…)", "strip(…)", "title(…)", "upper(…)"] |
6 changes: 6 additions & 0 deletions
6
...c/snapshots/kcl_language_server__completion__tests__string_union_type_completion.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1165 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["capitalize(…)", "count(…)", "endswith(…)", "find(…)", "format(…)", "index(…)", "isalnum(…)", "isalpha(…)", "isdigit(…)", "islower(…)", "isspace(…)", "istitle(…)", "isupper(…)", "join(…)", "lower(…)", "lstrip(…)", "removeprefix(…)", "removesuffix(…)", "replace(…)", "rfind(…)", "rindex(…)", "rsplit(…)", "rstrip(…)", "split(…)", "splitlines(…)", "startswith(…)", "strip(…)", "title(…)", "upper(…)"] |
6 changes: 6 additions & 0 deletions
6
.../src/LSP/src/snapshots/kcl_language_server__completion__tests__system_pkg_labels.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1181 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["capitalize(…)", "count(…)", "endswith(…)", "find(…)", "format(…)", "index(…)", "isalnum(…)", "isalpha(…)", "isdigit(…)", "islower(…)", "isspace(…)", "istitle(…)", "isupper(…)", "join(…)", "lower(…)", "lstrip(…)", "removeprefix(…)", "removesuffix(…)", "replace(…)", "rfind(…)", "rindex(…)", "rsplit(…)", "rstrip(…)", "split(…)", "splitlines(…)", "startswith(…)", "strip(…)", "title(…)", "upper(…)"] |
6 changes: 6 additions & 0 deletions
6
.../LSP/src/snapshots/kcl_language_server__completion__tests__var_completion_labels.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1093 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["", "Config", "Config{}", "P", "Person", "Person1{}", "Person{}", "P{}", "aaaa", "math", "n", "p", "p1", "p2", "p3", "p4", "subpkg"] |
6 changes: 6 additions & 0 deletions
6
...pshots/kcl_language_server__completion__tests__var_completion_labels_without_dot.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: tools/src/LSP/src/completion.rs | ||
assertion_line: 1173 | ||
expression: "format! (\"{:?}\", got_labels)" | ||
--- | ||
["Config", "Config{}", "P", "Person", "Person1{}", "Person{}", "P{}", "aaaa", "math", "n", "p", "p1", "p2", "p3", "p4", "pkg", "subpkg"] |