Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump terraform-schema #546

Merged
merged 1 commit into from
Jun 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/hashicorp/terraform-exec v0.13.3
github.com/hashicorp/terraform-json v0.11.0
github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896
github.com/hashicorp/terraform-schema v0.0.0-20210610083714-03085295bd36
github.com/hashicorp/terraform-schema v0.0.0-20210610085118-e42d6aa8c63d
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/mh-cbon/go-fmt-fail v0.0.0-20160815164508-67765b3fbcb5
github.com/mitchellh/cli v1.1.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ github.com/hashicorp/terraform-json v0.11.0 h1:4zDqqW2F3kOysORIaYKFGgWDYIRA3hwqx
github.com/hashicorp/terraform-json v0.11.0/go.mod h1:pmbq9o4EuL43db5+0ogX10Yofv1nozM+wskr/bGFJpI=
github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896 h1:1FGtlkJw87UsTMg5s8jrekrHmUPUJaMcu6ELiVhQrNw=
github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896/go.mod h1:bzBPnUIkI0RxauU8Dqo+2KrZZ28Cf48s8V6IHt3p4co=
github.com/hashicorp/terraform-schema v0.0.0-20210610083714-03085295bd36 h1:sqpjt62JAEyiZHns3PR/wZVILmaJEsF2zwkj6rCchfA=
github.com/hashicorp/terraform-schema v0.0.0-20210610083714-03085295bd36/go.mod h1:6HnR9FvXrFimOgw3U/9Y1w8J02RJj6YWm7WSOFb4iEM=
github.com/hashicorp/terraform-schema v0.0.0-20210610085118-e42d6aa8c63d h1:1vQ8qwBeZDOqt+UmuZ8D+hRnS3ilLHziV8XXBkzDAW8=
github.com/hashicorp/terraform-schema v0.0.0-20210610085118-e42d6aa8c63d/go.mod h1:6HnR9FvXrFimOgw3U/9Y1w8J02RJj6YWm7WSOFb4iEM=
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0=
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg=
github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw=
Expand Down
2 changes: 1 addition & 1 deletion internal/langserver/handlers/complete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func TestVarsCompletion_withValidData(t *testing.T) {
{
"label": "test",
"kind": 10,
"detail": "string",
"detail": "required, string",
"insertTextFormat":1,
"textEdit": {
"range": {"start":{"line":0,"character":0}, "end":{"line":0,"character":0}},
Expand Down
4 changes: 2 additions & 2 deletions internal/langserver/handlers/hover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func TestVarsHover_withValidData(t *testing.T) {
"textDocument": {
"version": 0,
"languageId": "terraform",
"text": "variable \"test\" {\n type=string\n}\n",
"text": "variable \"test\" {\n type=string\n sensitive=true}\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏🏻 Thank you for adding the test

"uri": "%s/variables.tf"
}
}`, tmpDir.URI())})
Expand Down Expand Up @@ -228,7 +228,7 @@ func TestVarsHover_withValidData(t *testing.T) {
"result": {
"contents": {
"kind": "plaintext",
"value": "test string"
"value": "test required, sensitive, string"
},
"range": {
"start": { "line":0, "character":0 },
Expand Down